[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Mar 5 00:55:52 UTC 2005
CVS commit by okellogg:
>From Enrico Ros (eros.kde_AT_email.it)
createAutoAttributeAssociations(): Avoid dereferencing a NULL pointer.
M +1 -1 umlview.cpp 1.209
--- kdesdk/umbrello/umbrello/umlview.cpp #1.208:1.209
@@ -2530,5 +2530,5 @@ void UMLView::createAutoAttributeAssocia
if (dt->isReference()) {
UMLClassifier *c = dt->originType();
- UMLWidget *w = findWidget( c->getID() );
+ UMLWidget *w = c ? findWidget( c->getID() ) : 0;
// if the referenced type has a widget representation on this view
if (w &&
More information about the umbrello-devel
mailing list