[Uml-devel] branches/work/soc-umbrello/umbrello/codeimport

Ralf Habacker ralf.habacker at gmail.com
Wed Dec 7 12:27:39 UTC 2011


SVN commit 1267647 by habacker:

commit from trunk r1266700: runtime exception fix

 M  +1 -1      idlimport.cpp  


--- branches/work/soc-umbrello/umbrello/codeimport/idlimport.cpp #1267646:1267647
@@ -78,7 +78,7 @@
         QChar c = word[i];
         if (c.isLetterOrNumber() || c == '_') {
             lexeme += c;
-        } else if (c == ':' && word[i + 1] == ':') {
+        } else if (c == ':' && i < len-1 && word[i + 1] == ':') {
             // compress scoped name into lexeme
             lexeme += "::";
             i++;




More information about the umbrello-devel mailing list