Skip to content

Commit c1f37e8

Browse files
committed
prepare-commit.sh
1 parent 87b9b5d commit c1f37e8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/core/qgsrasterprojector.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -596,18 +596,18 @@ bool QgsRasterProjector::checkCols()
596596
QgsPoint mySrcApprox(( mySrcPoint1.x() + mySrcPoint3.x() ) / 2, ( mySrcPoint1.y() + mySrcPoint3.y() ) / 2 );
597597
try
598598
{
599-
QgsPoint myDestApprox = mCoordinateTransform.transform( mySrcApprox, QgsCoordinateTransform::ReverseTransform );
600-
double mySqrDist = myDestApprox.sqrDist( myDestPoint );
601-
if ( mySqrDist > mSqrTolerance )
602-
{
603-
return false;
604-
}
599+
QgsPoint myDestApprox = mCoordinateTransform.transform( mySrcApprox, QgsCoordinateTransform::ReverseTransform );
600+
double mySqrDist = myDestApprox.sqrDist( myDestPoint );
601+
if ( mySqrDist > mSqrTolerance )
602+
{
603+
return false;
604+
}
605605
}
606606
catch ( QgsCsException &e )
607607
{
608-
Q_UNUSED( e );
609-
// Caught an error in transform
610-
return false;
608+
Q_UNUSED( e );
609+
// Caught an error in transform
610+
return false;
611611
}
612612
}
613613
}
@@ -631,18 +631,18 @@ bool QgsRasterProjector::checkRows()
631631
QgsPoint mySrcApprox(( mySrcPoint1.x() + mySrcPoint3.x() ) / 2, ( mySrcPoint1.y() + mySrcPoint3.y() ) / 2 );
632632
try
633633
{
634-
QgsPoint myDestApprox = mCoordinateTransform.transform( mySrcApprox, QgsCoordinateTransform::ReverseTransform );
635-
double mySqrDist = myDestApprox.sqrDist( myDestPoint );
636-
if ( mySqrDist > mSqrTolerance )
637-
{
638-
return false;
639-
}
634+
QgsPoint myDestApprox = mCoordinateTransform.transform( mySrcApprox, QgsCoordinateTransform::ReverseTransform );
635+
double mySqrDist = myDestApprox.sqrDist( myDestPoint );
636+
if ( mySqrDist > mSqrTolerance )
637+
{
638+
return false;
639+
}
640640
}
641641
catch ( QgsCsException &e )
642642
{
643-
Q_UNUSED( e );
644-
// Caught an error in transform
645-
return false;
643+
Q_UNUSED( e );
644+
// Caught an error in transform
645+
return false;
646646
}
647647
}
648648
}

0 commit comments

Comments
 (0)