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

Oliver Kellogg okellogg at users.sourceforge.net
Fri Dec 3 12:54:01 UTC 2004


CVS commit by okellogg: 

updateContent(): Don't generate include statements for data types.


  M +1 -1      cppheadercodedocument.cpp   1.32


--- kdesdk/umbrello/umbrello/codegenerators/cppheadercodedocument.cpp  #1.31:1.32
@@ -461,5 +461,5 @@ void CPPHeaderCodeDocument::updateConten
         gen->findObjectsRelated(c,includes);
         for(UMLClassifier *con = includes.first(); con ; con = includes.next())
-        if (!(packageMap->contains(con)))
+        if (con->getBaseType() != Uml::ot_Datatype && !packageMap->contains(con))
         {
                 packageMap->insert(con,con->getPackage());






More information about the umbrello-devel mailing list