[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/clipboard

Oliver Kellogg okellogg at users.sourceforge.net
Sun Mar 18 22:46:27 UTC 2007


SVN commit 643979 by okellogg:

remove unused vars

 M  +0 -2      umlclipboard.cpp  
 M  +0 -1      umldrag.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/clipboard/umlclipboard.cpp #643978:643979
@@ -333,10 +333,8 @@
 /** If clipboard has mime type application/x-uml-clip1,
 Pastes the data from the clipboard into the current Doc */
 bool UMLClipboard::pasteClip1(QMimeSource* data) {
-    UMLDoc *doc = UMLApp::app()->getDocument();
     UMLListViewItemList itemdatalist;
     UMLObjectList objects;
-    IDChangeLog* idchanges = doc->getChangeLog();
     if (! UMLDrag::decodeClip1(data, objects, itemdatalist)) {
         return false;
     }
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/clipboard/umldrag.cpp #643978:643979
@@ -663,7 +663,6 @@
 bool UMLDrag::decodeClip4(const QMimeSource* mimeSource, UMLObjectList& objects,
                           UMLListViewItemList& umlListViewItems, UMLWidgetList& widgets,
                           AssociationWidgetList& associations, Uml::Diagram_Type & dType) {
-    UMLDoc* doc = UMLApp::app()->getDocument();
     if ( !mimeSource->provides("application/x-uml-clip4") ) {
         return false;
     }




More information about the umbrello-devel mailing list