[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Thu Mar 22 22:59:02 UTC 2007


SVN commit 645570 by okellogg:

addDefaultDatatypes(): Add debug message.

 M  +4 -1      umldoc.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umldoc.cpp #645569:645570
@@ -2245,8 +2245,11 @@
 
 void UMLDoc::addDefaultDatatypes() {
     CodeGenerator *cg = UMLApp::app()->getGenerator();
-    if (cg == NULL)
+    if (cg == NULL) {
+        kDebug() << "UMLDoc::addDefaultDatatypes: CodeGenerator is still NULL"
+            << endl;
         return;
+    }
     QStringList entries = cg->defaultDatatypes();
     QStringList::Iterator end(entries.end());
     for (QStringList::Iterator it = entries.begin(); it != end; ++it)




More information about the umbrello-devel mailing list