[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Mon Sep 15 22:43:03 UTC 2003
CVS commit by thomas:
bug fix: oops, forgot to set a tag on the class decl block. As a result, it was getting added 2x to the javaclasscode document.
M +2 -3 javaclassifiercodedocument.cpp 1.10
--- kdesdk/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp #1.9:1.10
@@ -118,12 +118,10 @@ JavaClassDeclarationBlock * JavaClassifi
{
-/*
// So we see if it already exists, IF it *does* then we wont create a
// new one.
if(!classDeclCodeBlock) {
classDeclCodeBlock = new JavaClassDeclarationBlock (this);
- classDeclCodeBlock->setTag("classBlock");
+ classDeclCodeBlock->setTag("ClassDeclBlock");
}
-*/
return classDeclCodeBlock;
@@ -150,4 +148,5 @@ void JavaClassifierCodeDocument::init (
// a short-cut object we created to handle the body of the class
classDeclCodeBlock = new JavaClassDeclarationBlock (this);
+ classDeclCodeBlock->setTag("ClassDeclBlock");
// this will call updateContent() as well as other things that sync our document.
More information about the umbrello-devel
mailing list