[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Jan 8 16:33:08 UTC 2005
CVS commit by okellogg:
load(): Avoid crashing upon a failed op->loadFromXMI().
M +4 -1 classifier.cpp 1.67
--- kdesdk/umbrello/umbrello/classifier.cpp #1.66:1.67
@@ -479,5 +479,8 @@ bool UMLClassifier::load(QDomElement& el
<< endl;
delete op;
- return false;
+ return true;
+ // Returning false here will spoil the entire load.
+ // At this point the user has been warned that
+ // something went wrong so let's still try to go on.
}
if (!addOperation(op) ) {
More information about the umbrello-devel
mailing list