[Uml-devel] kdesdk/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Feb 18 09:08:56 UTC 2005


CVS commit by okellogg: 

BUG:99697 - formatDoc(): Fix declaration of index.


  M +1 -1      ChangeLog   1.66
  M +2 -1      umbrello/codegenerator.cpp   1.65


--- kdesdk/umbrello/ChangeLog  #1.65:1.66
@@ -28,5 +28,5 @@
 92781 92995 93122 93219 93297 93298 93501 93535 93696 94173
 94728 94795 94883 95082 95247 95252 95722 95924 95951 95954
-96216 96221 96964 97155 97182 97697 97887 97984
+96216 96221 96964 97155 97182 97697 97887 97984 98899 99697
 
 Version 1.3

--- kdesdk/umbrello/umbrello/codegenerator.cpp  #1.64:1.65
@@ -678,6 +678,7 @@ QString CodeGenerator::formatDoc(const Q
                         continue;
                 }
+                int index;
                 do {
-                        const int index = comment.findRev(" ", lineWidth + 1);
+                        index = comment.findRev(" ", lineWidth + 1);
                         output += linePrefix + input.left(index) + endLine; // add line
                         input.remove(0, index + 1);     //and remove processed string, including






More information about the umbrello-devel mailing list