[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Aug 20 13:39:05 UTC 2004
CVS commit by okellogg:
createOperation(): Supply parent classifier on constructing the UMLOperation.
Thanks to Heiko Nardmann for the fix.
M +1 -4 umldoc.cpp 1.179
--- kdesdk/umbrello/umbrello/umldoc.cpp #1.178:1.179
@@ -1143,6 +1143,4 @@ UMLObject* UMLDoc::createAttribute(UMLCl
umlclass->addAttribute(newAttribute);
- // addUMLObject(newAttribute);
-
emit sigObjectCreated(newAttribute);
return newAttribute;
@@ -1246,5 +1244,5 @@ UMLOperation* UMLDoc::createOperation(UM
return existingOp;
}
- UMLOperation *op = new UMLOperation(NULL, name, getUniqueID());
+ UMLOperation *op = new UMLOperation(classifier, name, getUniqueID());
if (params)
{
@@ -1277,5 +1275,4 @@ UMLOperation* UMLDoc::createOperation(UM
classifier->addOperation( op );
- // addUMLObject(newOperation);
sigObjectCreated(op);
return op;
More information about the umbrello-devel
mailing list