Skip to content
Permalink
Browse files

Remove cast to itself

  • Loading branch information
nyalldawson committed Dec 16, 2015
1 parent a66a8ea commit 6bfde51d7027b0355f9301571fc13764f5144845
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptooladdpart.cpp
@@ -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

0 comments on commit 6bfde51

Please sign in to comment.
You can’t perform that action at this time.