[Uml-devel] kdesdk/umbrello/umbrello/classparser

Oliver Kellogg okellogg at users.sourceforge.net
Mon Jan 17 23:17:12 UTC 2005


CVS commit by okellogg: 

parseElaboratedTypeSpecifier(): Create the forward declared object at the global scope.
It turns out that this much reduces cycles.


  M +1 -1      cpptree2uml.cpp   1.21


--- kdesdk/umbrello/umbrello/classparser/cpptree2uml.cpp  #1.20:1.21
@@ -402,5 +402,5 @@ void CppTree2Uml::parseElaboratedTypeSpe
     kdDebug() << "CppTree2Uml::parseElaboratedTypeSpecifier: text is " << text << endl;
     text.remove(QRegExp("^class\\s+"));
-    UMLObject *o = m_importer->createUMLObject( Uml::ot_Class, text, m_currentNamespace[m_nsCnt] );
+    UMLObject *o = m_importer->createUMLObject( Uml::ot_Class, text );
     flushTemplateParams( static_cast<UMLClass*>(o) );
 }






More information about the umbrello-devel mailing list