[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Feb 11 12:37:50 UTC 2005


CVS commit by okellogg: 

Adjustment for loading Visio XMI.  NB: After loading Visio XMI files, it may
happen that the model elements do not appear. In this case, save the
(seemingly empty) model, and load the saved file.
Thanks to Anna Persson for providing the sample Visio file.


  M +1 -0      umldoc.cpp   1.237


--- kdesdk/umbrello/umbrello/umldoc.cpp  #1.236:1.237
@@ -2096,4 +2096,5 @@ bool UMLDoc::loadFromXMI( QIODevice & fi
                         QString tag = element.tagName();
                         if (tag == "umlobjects"  // for bkwd compat.
+                                 || tagEq(tag, "Subsystem")
                                  || tagEq(tag, "Model") ) {
                                 if( !loadUMLObjectsFromXMI( element ) ) {






More information about the umbrello-devel mailing list