[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate/osm

Jens-Michael Hoffmann jensmh at gmx.de
Fri Jul 31 19:49:03 CEST 2009


SVN commit 1005266 by jmhoffmann:

Remove unnecessary dynamic_cast (used for upcasting).


 M  +1 -1      OsmBoundsTagHandler.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmBoundsTagHandler.cpp #1005265:1005266
@@ -60,7 +60,7 @@
 //
 //    model->append( dynamic_cast<GeoGraphicsItem*>( place ) );
 
-    model->append( dynamic_cast<GeoGraphicsItem*> (item) );
+    model->append( item );
 
     return 0;
 


More information about the Marble-commits mailing list