[Uml-devel] kdesdk/umbrello/umbrello

Brian Thomas thomas at mail630.gsfc.nasa.gov
Thu Feb 12 11:19:09 UTC 2004


CVS commit by thomas: 

minor fix: added error message when badly constructed object is created and used


  M +2 -0      hierarchicalcodeblock.cpp   1.14


--- kdesdk/umbrello/umbrello/hierarchicalcodeblock.cpp  #1.13:1.14
@@ -395,4 +395,6 @@ TextBlock * HierarchicalCodeBlock::findC
         if(cdoc)
                 return cdoc->findCodeClassFieldTextBlockByTag(tag);
+        else
+                kdError()<<" HierarchicalCodeBlock: findCodeClassFieldTextBlockByTag() finds NO parent document! Badly constructed textblock?!?"<<endl;
 
         // if we get here, we failed.






More information about the umbrello-devel mailing list