[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sun Dec 12 07:00:02 UTC 2004


CVS commit by okellogg: 

loadFromXMI(): UMLRole objects now have their proper type, ot_Role.


  M +1 -1      umlobject.cpp   1.59


--- kdesdk/umbrello/umbrello/umlobject.cpp  #1.58:1.59
@@ -629,5 +629,5 @@ bool UMLObject::loadFromXMI( QDomElement
         if (m_BaseType != Uml::ot_Operation && m_BaseType != Uml::ot_Attribute &&
             m_BaseType != Uml::ot_EnumLiteral && m_BaseType != Uml::ot_Stereotype &&
-            m_BaseType != Uml::ot_Association && m_BaseType != Uml::ot_UMLObject) {
+            m_BaseType != Uml::ot_Association && m_BaseType != Uml::ot_Role) {
                 if (m_bInPaste) {
                         m_pUMLPackage = NULL;  // forget any old parent






More information about the umbrello-devel mailing list