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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Jun 13 03:44:17 UTC 2004


CVS commit by okellogg: 

checkPasteWidgets(): Replace dynamic_cast by static_cast.


  M +1 -1      umlclipboard.cpp   1.21


--- kdesdk/umbrello/umbrello/clipboard/umlclipboard.cpp  #1.20:1.21
@@ -666,5 +666,5 @@ bool UMLClipboard::checkPasteWidgets( UM
 
                         case Uml::wt_Text:
-                                if( dynamic_cast<FloatingText *>( p )->
+                                if( static_cast<FloatingText *>( p )->
                                         getRole() != Uml::tr_Floating )
                                         return false;






More information about the umbrello-devel mailing list