<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>134279</bug_id>
          
          <creation_ts>2006-09-18 15:59:49 +0000</creation_ts>
          <short_desc>Header file names are lowercase in .cpp file, but mixed case on the disk</short_desc>
          <delta_ts>2006-09-18 19:56:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>umbrello</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Marek Wichtowski">mrq</reporter>
          <assigned_to name="Umbrello Development Group">umbrello-devel</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>470859</commentid>
    <comment_count>0</comment_count>
    <who name="Marek Wichtowski">mrq</who>
    <bug_when>2006-09-18 15:59:49 +0000</bug_when>
    <thetext>Version:           1.5.4 (using KDE 3.5.4, Gentoo)
Compiler:          Target: x86_64-pc-linux-gnu
OS:                Linux (x86_64) release 2.6.16-gentoo-r7

Creating a class Foo_Bar and generating code creates files Foo_Bar.cpp and Foo_Bar.h, but in Foo_Bar.cpp we get a line:
#include &quot;foo_bar.h&quot;

instead of:
#include &quot;Foo_Bar.h&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>470937</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Kellogg">okellogg</who>
    <bug_when>2006-09-18 19:56:52 +0000</bug_when>
    <thetext>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 - &quot;final&quot; 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 &lt;&lt; &quot;#include \&quot;&quot; &lt;&lt; (m_classifierInfo-&gt;className).lower() &lt;&lt; &quot;.h\&quot;&quot; &lt;&lt; m_endl;
+    cpp &lt;&lt; &quot;#include \&quot;&quot; &lt;&lt; m_classifierInfo-&gt;className &lt;&lt; &quot;.h\&quot;&quot; &lt;&lt; m_endl;
     writeBlankLine(cpp);
 
     if (c-&gt;getVisibility() == Uml::Visibility::Implementation) {
@@ -1231,7 +1231,7 @@
             if( !isFirstClass &amp;&amp; !a-&gt;getRoleName(Uml::A).isEmpty() &amp;&amp; !a-&gt;getRoleName(Uml::B).isEmpty())
                 stream &lt;&lt; &quot;class &quot; &lt;&lt; current-&gt;getName() &lt;&lt; &quot;;&quot; &lt;&lt; m_endl; // special case: use forward declaration
             else
-                stream &lt;&lt; &quot;#include \&quot;&quot; &lt;&lt; current-&gt;getName().lower() &lt;&lt; &quot;.h\&quot;&quot; &lt;&lt; m_endl; // just the include statement
+                stream &lt;&lt; &quot;#include \&quot;&quot; &lt;&lt; current-&gt;getName() &lt;&lt; &quot;.h\&quot;&quot; &lt;&lt; m_endl; // just the include statement
     }
 }
 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>