[Uml-devel] branches/KDE/4.7/kdesdk/umbrello/umbrello/codeimport
Ralf Habacker
ralf.habacker at gmail.com
Wed Nov 30 14:56:36 UTC 2011
SVN commit 1266791 by habacker:
backported from trunk r1266700: runtime exception fix
M +1 -1 idlimport.cpp
--- branches/KDE/4.7/kdesdk/umbrello/umbrello/codeimport/idlimport.cpp #1266790:1266791
@@ -80,7 +80,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