[Uml-devel] [Bug 130093] Progam freeze importing java classes
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Jul 1 21:54:49 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=130093
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2006-07-01 23:54 -------
SVN commit 556909 by okellogg:
skipToClosing(): Add check for QString::null return value from advance().
BUG:130093
M +1 -1 ChangeLog
M +2 -0 umbrello/javaimport.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #556908:556909
@ -1,7 +1,7 @
Version 1.5.4
* Bugs/wishes from http://bugs.kde.org:
-* Fix crash when importing classes from a java file (129107)
+* Fix crash when importing classes from a java file (129107, 130093)
* Crash after single click on the "UML Model" tree window (126560/129252)
Version 1.5.3
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.cpp #556908:556909
@ -111,6 +111,8 @
int nesting = 0;
while (m_srcIndex < srcLength) {
QString nextToken = advance();
+ if (nextToken.isEmpty())
+ break;
if (nextToken == closing) {
if (nesting <= 0)
break;
More information about the umbrello-devel
mailing list