[Uml-devel] KDE/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat Jul 2 07:12:33 UTC 2005


SVN commit 430870 by okellogg:

save(): Comment #31 From graeme foster 2005-06-27 08:42:
> 1) Attribute doesn't inherit from GeneralizableElement and so it shouldn't
> have isRoot, isLeaf or isAbstract
CCBUG:56184


 M  +3 -1      umlobject.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlobject.cpp #430869:430870
@@ -451,7 +451,9 @@
 	*/
 	QDomElement qElement = qDoc.createElement(tag);
 	qElement.setAttribute( "isSpecification", "false" );
-	if (m_BaseType != Uml::ot_Association && m_BaseType != Uml::ot_Role) {
+	if (m_BaseType != Uml::ot_Association &&
+	    m_BaseType != Uml::ot_Role &&
+	    m_BaseType != Uml::ot_Attribute) {
 		qElement.setAttribute( "isLeaf", "false" );
 		qElement.setAttribute( "isRoot", "false" );
 		if (m_bAbstract)




More information about the umbrello-devel mailing list