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

Oliver Kellogg okellogg at users.sourceforge.net
Fri Mar 26 18:26:01 UTC 2004


CVS commit by okellogg: 

writeClass(): Don't generate #include statements for UMLDatatypes.


  M +2 -0      idlwriter.cpp   1.12


--- kdesdk/umbrello/umbrello/codegenerators/idlwriter.cpp  #1.11:1.12
@@ -146,4 +146,6 @@ void IDLWriter::writeClass(UMLClassifier
         if (includes.count()) {
                 for (UMLClassifier *conc = includes.first(); conc; conc = includes.next()) {
+                        if (conc->getBaseType() == Uml::ot_Datatype)
+                                continue;
                         QString baseName = findFileName(conc, ".idl");
                         if (!baseName.isEmpty())






More information about the umbrello-devel mailing list