Skip to content

Commit

Permalink
Remove cast to itself
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 16, 2015
1 parent a66a8ea commit 6bfde51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaptooladdpart.cpp
Expand Up @@ -159,7 +159,7 @@ void QgsMapToolAddPart::cadCanvasReleaseEvent( QgsMapMouseEvent * e )
return;
}

errorCode = vlayer->addPart( dynamic_cast<QgsCurveV2*>( cpGeom->exteriorRing()->clone() ) );
errorCode = vlayer->addPart( cpGeom->exteriorRing()->clone() );
delete geom;
}
else
Expand Down

0 comments on commit 6bfde51

Please sign in to comment.