Skip to content

Commit 30dd6e7

Browse files
committedOct 3, 2014
remove useless code
1 parent 953f977 commit 30dd6e7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed
 

‎src/app/qgsmaptoolcapture.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,6 @@ int QgsMapToolCapture::nextPoint( const QPoint &p, QgsPoint &layerPoint, QgsPoin
149149
return 1;
150150
}
151151

152-
QgsPoint digitisedPoint;
153-
try
154-
{
155-
digitisedPoint = toLayerCoordinates( vlayer, p );
156-
}
157-
catch ( QgsCsException &cse )
158-
{
159-
Q_UNUSED( cse );
160-
QgsDebugMsg( "transformation to layer coordinate failed" );
161-
return 2;
162-
}
163-
164152
QList<QgsSnappingResult> snapResults;
165153
if ( mSnapper.snapToBackgroundLayers( p, snapResults ) == 0 )
166154
{

0 commit comments

Comments
 (0)
Please sign in to comment.