[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Thu Dec 23 07:13:01 UTC 2004


CVS commit by okellogg: 

Combine both previous changes (supress attributes isLeaf, isRoot, isAbstract
on both Associations and AssociationEnds.)


  M +1 -1      umlobject.cpp   1.67


--- kdesdk/umbrello/umbrello/umlobject.cpp  #1.66:1.67
@@ -423,5 +423,5 @@ QDomElement UMLObject::save( const QStri
         QDomElement qElement = qDoc.createElement(tag);
         qElement.setAttribute( "isSpecification", "false" );
-        if (m_BaseType != Uml::ot_Role) {
+        if (m_BaseType != Uml::ot_Association && m_BaseType != Uml::ot_Role) {
                 qElement.setAttribute( "isLeaf", "false" );
                 qElement.setAttribute( "isRoot", "false" );






More information about the umbrello-devel mailing list