[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Thu Oct 19 19:58:23 UTC 2006
SVN commit 597276 by okellogg:
makeObjectFromXMI(): stereo should never be NULL - but who knows.
M +1 -1 object_factory.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/object_factory.cpp #597275:597276
@@ -244,7 +244,7 @@
if (!stereoID.isEmpty()) {
UMLDoc *doc = UMLApp::app()->getDocument();
UMLObject *stereo = doc->findStereotypeById(STR2ID(stereoID));
- if (stereo->getName() == "folder")
+ if (stereo && stereo->getName() == "folder")
pObject = new UMLFolder();
}
if (pObject == NULL)
More information about the umbrello-devel
mailing list