Skip to content
Permalink
Browse files

fix raster reprojection crash on windows

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 10, 2011
1 parent ed7ccf2 commit 6d6fbccc70693cf325c94bd355d67e57b7d409e3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsrasterdataprovider.cpp
@@ -46,7 +46,7 @@ void QgsRasterDataProvider::readBlock( int bandNo, QgsRectangle const & viewExt
mMaxSrcYRes = extent().height() / ySize();
}

QgsRasterProjector myProjector = QgsRasterProjector( theSrcCRS, theDestCRS, viewExtent, height, width, mMaxSrcXRes, mMaxSrcYRes );
QgsRasterProjector myProjector( theSrcCRS, theDestCRS, viewExtent, height, width, mMaxSrcXRes, mMaxSrcYRes );

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

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

free( mySrcData );
};
}


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

0 comments on commit 6d6fbcc

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