Skip to content

Commit

Permalink
fix raster reprojection crash on windows
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15416 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 10, 2011
1 parent ed7ccf2 commit 6d6fbcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsrasterdataprovider.cpp
Expand Up @@ -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() ) );

Expand Down Expand Up @@ -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 )
Expand Down

0 comments on commit 6d6fbcc

Please sign in to comment.