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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Oct 5 21:17:12 UTC 2006


SVN commit 592816 by okellogg:

If the base type is a Datatype then so should be the derived type.

 M  +1 -2      adaimport.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/adaimport.cpp #592815:592816
@@ -268,8 +268,7 @@
                                                               : Uml::ot_Datatype);
             UMLObject *ns = Import_Utils::createUMLObject(t, base, NULL);
             UMLClassifier *parent = static_cast<UMLClassifier*>(ns);
-            ns = Import_Utils::createUMLObject(Uml::ot_Class, name,
-                                               m_scope[m_scopeIndex], m_comment);
+            ns = Import_Utils::createUMLObject(t, name, m_scope[m_scopeIndex], m_comment);
             if (isExtension) {
                 QString nextLexeme = advance();
                 if (nextLexeme == "null" || nextLexeme == "record") {




More information about the umbrello-devel mailing list