[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Nov 10 21:12:39 UTC 2006
SVN commit 603939 by okellogg:
writeHeaderFile(): Call template_params.next(), else we spin to death.
writeAssociationIncl(): TODO: classifier is always NULL in the else case.
CCBUG:109636
M +5 -1 tclwriter.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/tclwriter.cpp #603938:603939
@@ -230,7 +230,8 @@
UMLTemplateList template_params = c->getTemplateList();
if (template_params.count()) {
writeCode("#TODO template<");
- for (UMLTemplate * t = template_params.first(); t;) {
+ for (UMLTemplate * t = template_params.first(); t;
+ t = template_params.next()) {
QString formalName = t->getName();
QString typeName = t->getTypeName();
writeCode(typeName + "# " + formalName);
@@ -409,8 +410,11 @@
writeCode("namespace eval " + cleanName(classifier->getName()) +
" {}");
} else {
+ // CHECK: This crashes (classifier still NULL from above)
+ /*
writeCode("namespace eval " + cleanName(classifier->getPackage()) +
"::" + cleanName(classifier->getName()) + " {}");
+ */
}
}
}
More information about the umbrello-devel
mailing list