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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Feb 4 12:40:57 UTC 2007


SVN commit 630089 by okellogg:

pasteClip5(): Remove obsolete FIXME comments.

 M  +2 -6      umlclipboard.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/clipboard/umlclipboard.cpp #630088:630089
@@ -595,9 +595,7 @@
                     obj->setName(newName);
                 }
                 UMLAttribute *att = static_cast<UMLAttribute*>(obj);
-                if (parent->addAttribute(att, idchanges)) {
-                    //FIXME                                     doc -> signalChildUMLObjectCreated(obj);
-                } else {
+                if (!parent->addAttribute(att, idchanges)) {
                     kError() << "UMLClipboard::pasteClip5: " << parent->getName()
                         << "->addAttribute(" << att->getName() << ") failed" << endl;
                 }
@@ -611,9 +609,7 @@
                     QString newName = parent->uniqChildName(Uml::ot_Operation, obj->getName());
                     op->setName(newName);
                 }
-                if (parent->addOperation(op, idchanges)) {
-                    //FIXME                             doc -> signalChildUMLObjectCreated(obj);
-                } else {
+                if (!parent->addOperation(op, idchanges)) {
                     kError() << "UMLClipboard::pasteClip5: " << parent->getName()
                         << "->addOperation(" << op->getName() << ") failed" << endl;
                 }




More information about the umbrello-devel mailing list