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

Oliver Kellogg okellogg at users.sourceforge.net
Tue Nov 7 21:36:17 UTC 2006


SVN commit 603114 by okellogg:

oops

 M  +2 -2      simplecodegenerator.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/simplecodegenerator.cpp #603113:603114
@@ -144,13 +144,13 @@
     return overwritableName(concept, name, extension);
 }
 
-QString SimpleCodeGenerator::overwritableName(UMLClassifier* concept, const QString &name, const QString &ext) {
+QString SimpleCodeGenerator::overwritableName(UMLPackage* concept, const QString &name, const QString &ext) {
     //check if a file named "name" with extension "ext" already exists
     CodeGenerationPolicy *commonPolicy = UMLApp::app()->getCommonPolicy();
     QDir outputDir = commonPolicy->getOutputDirectory();
     QString filename = name + ext;
     if(!outputDir.exists(filename)) {
-        m_fileMap->insert(concept,filename);
+        m_fileMap.insert(concept,filename);
         return filename; //if not, "name" is OK and we have not much to to
     }
 




More information about the umbrello-devel mailing list