[Uml-devel] KDE/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat May 28 03:52:54 UTC 2005


SVN commit 419017 by okellogg:

Constructor: Replace C-style pointer cast by static_cast.

 M  +1 -1      listpopupmenu.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/listpopupmenu.cpp #419016:419017
@@ -223,7 +223,7 @@
 			if (type == Uml::wt_Interface) {
 				insertItem(i18n("Draw as Circle"), mt_DrawAsCircle_Selection);
 				setItemChecked( mt_DrawAsCircle_Selection,
-						((ClassifierWidget*)object)->getDrawAsCircle() );
+						c->getDrawAsCircle() );
 				insertItem(i18n("Change into Class"), mt_ChangeToClass_Selection);
 			} else if (type == Uml::wt_Class) {
 				UMLClassifier *umlc = c->getClassifier();




More information about the umbrello-devel mailing list