[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Dec 20 12:49:00 UTC 2004


CVS commit by okellogg: 

save(): XMI standard wants the "name" attribute, even if empty.
Thanks to Marcus Alanen (maalanen_AT_ra.abo.fi) for advising.


  M +1 -2      umlobject.cpp   1.63


--- kdesdk/umbrello/umbrello/umlobject.cpp  #1.62:1.63
@@ -427,5 +427,4 @@ QDomElement UMLObject::save( const QStri
         qElement.setAttribute( "isSpecification", "false" );
         qElement.setAttribute( "xmi.id", ID2STR(m_nId) );
-        if (!m_Name.isEmpty())
                 qElement.setAttribute( "name", m_Name );
         if (! m_Doc.isEmpty())






More information about the umbrello-devel mailing list