Skip to content

Commit 6d6fbcc

Browse files
author
jef
committed
fix raster reprojection crash on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15416 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ed7ccf2 commit 6d6fbcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgsrasterdataprovider.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void QgsRasterDataProvider::readBlock( int bandNo, QgsRectangle const & viewExt
4646
mMaxSrcYRes = extent().height() / ySize();
4747
}
4848

49-
QgsRasterProjector myProjector = QgsRasterProjector( theSrcCRS, theDestCRS, viewExtent, height, width, mMaxSrcXRes, mMaxSrcYRes );
49+
QgsRasterProjector myProjector( theSrcCRS, theDestCRS, viewExtent, height, width, mMaxSrcXRes, mMaxSrcYRes );
5050

5151
QgsDebugMsg( QString( "create projector time (ms): %1" ).arg( time.elapsed() ) );
5252

@@ -82,7 +82,7 @@ void QgsRasterDataProvider::readBlock( int bandNo, QgsRectangle const & viewExt
8282
QgsDebugMsg( QString( "reproject block time (ms): %1" ).arg( time.elapsed() ) );
8383

8484
free( mySrcData );
85-
};
85+
}
8686

8787

8888
QgsRasterDataProvider::QgsRasterDataProvider(): mDpi( -1 )

0 commit comments

Comments
 (0)