[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Feb 12 13:01:38 UTC 2005
CVS commit by okellogg:
Adjustments for loading ArtisanSW XMI.
Thanks to Anna Persson for providing the demo file.
M +3 -5 attribute.cpp 1.28
--- kdesdk/umbrello/umbrello/attribute.cpp #1.27:1.28
@@ -178,7 +178,6 @@ void UMLAttribute::saveToXMI( QDomDocume
if (m_pSecondary == NULL) {
kdDebug() << "UMLAttribute::saveToXMI(" << m_Name
- << "): m_pSecondary is NULL, using local name "
- << m_SecondaryId << endl;
- attributeElement.setAttribute( "type", m_SecondaryId );
+ << "): m_pSecondary is NULL, m_SecondaryId is '"
+ << m_SecondaryId << "'" << endl;
} else {
attributeElement.setAttribute( "type", ID2STR(m_pSecondary->getID()) );
@@ -223,7 +222,6 @@ bool UMLAttribute::load( QDomElement & e
}
if (m_SecondaryId.isEmpty()) {
- kdError() << "UMLAttribute::load(" << m_Name << "): "
+ kdDebug() << "UMLAttribute::load(" << m_Name << "): "
<< "cannot find type." << endl;
- return false;
}
}
More information about the umbrello-devel
mailing list