[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Nov 24 13:48:13 UTC 2004


CVS commit by okellogg: 

addMethodParameter(): Use UMLAttribute constructor that pulls new unique ID.


  M +1 -2      classimport.cpp   1.55


--- kdesdk/umbrello/umbrello/classimport.cpp  #1.54:1.55
@@ -220,6 +220,5 @@ UMLAttribute* ClassImport::addMethodPara
         UMLObject *typeObj = createUMLObject(Uml::ot_UMLObject, type, parentPkg);
         m_putAtGlobalScope = false;
-        UMLAttribute *attr = new UMLAttribute(method);
-        attr->setName(name);
+        UMLAttribute *attr = new UMLAttribute(method, name);
         attr->setType(dynamic_cast<UMLClassifier*>(typeObj));
         //attr->setInitialValue(initialValue);






More information about the umbrello-devel mailing list