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

Brian Thomas thomas at mail630.gsfc.nasa.gov
Fri Nov 14 13:35:11 UTC 2003


CVS commit by thomas: 

bug fix: code operations dont appear in source document when parent is interface or abstract


  M +12 -0     cppsourcecodedocument.cpp   1.9


--- kdesdk/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp  #1.8:1.9
@@ -183,4 +183,16 @@ CodeClassFieldDeclarationBlock * CPPSour
 }
 
+void CPPSourceCodeDocument::resetTextBlocks()
+{
+
+        // all special pointers need to be zero'd out.
+        methodsBlock = 0;
+        constructorBlock = 0;
+
+        // now do the traditional release of child text blocks
+        ClassifierCodeDocument::resetTextBlocks();
+
+}
+
 // This method will cause the class to rebuild its text representation.
 // based on the parent classifier object.






More information about the umbrello-devel mailing list