[Uml-devel] branches/KDE/3.5/kdesdk/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Sep 18 17:56:10 UTC 2006


SVN commit 586105 by okellogg:

Remove .lower() on generated #include files.
BUG:134279


 M  +1 -0      ChangeLog  
 M  +2 -2      umbrello/codegenerators/cppwriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #586104:586105
@@ -17,6 +17,7 @@
 * Java import - "final" and comments in method declaration not parsed correctly (132174)
 * Java import: spaces in strings cause next member var to be ignored (132472)
 * Java import - static member vars ignored in interfaces (132657)
+* Header file names are lowercase in .cpp file, but mixed case on the disk (134279)
 
 Version 1.5.4
 
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/cppwriter.cpp #586104:586105
@@ -227,7 +227,7 @@
     // Q: Why all utils? Isnt just List and Vector the only classes we are using?
     // Our import *should* also look at operations, and check that objects being
     // used arent in another package (and thus need to be explicitly imported here).
-    cpp << "#include \"" << (m_classifierInfo->className).lower() << ".h\"" << m_endl;
+    cpp << "#include \"" << m_classifierInfo->className << ".h\"" << m_endl;
     writeBlankLine(cpp);
 
     if (c->getVisibility() == Uml::Visibility::Implementation) {
@@ -1231,7 +1231,7 @@
             if( !isFirstClass && !a->getRoleName(Uml::A).isEmpty() && !a->getRoleName(Uml::B).isEmpty())
                 stream << "class " << current->getName() << ";" << m_endl; // special case: use forward declaration
             else
-                stream << "#include \"" << current->getName().lower() << ".h\"" << m_endl; // just the include statement
+                stream << "#include \"" << current->getName() << ".h\"" << m_endl; // just the include statement
     }
 }
 




More information about the umbrello-devel mailing list