[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat May 1 07:25:02 UTC 2004
CVS commit by okellogg:
Avoid multiple addition of same attributes when repeatedly importing the
same classes. Thanks to Tanuj (tagrawal at hss.hns.com) for reporting.
M +1 -2 classimport.cpp 1.31
--- kdesdk/umbrello/umbrello/classimport.cpp #1.30:1.31
@@ -119,6 +119,5 @@ UMLObject* ClassImport::insertAttribute(
return NULL;
}
- int attID = m_umldoc->getUniqueID();
- UMLAttribute *attr = ((UMLClass*)o)->addAttribute(name , attID);
+ UMLAttribute *attr = ((UMLClass*)o)->addAttribute(name);
attr->setTypeName(type);
attr->setScope(scope);
More information about the umbrello-devel
mailing list