Skip to content

Commit

Permalink
fix build and remove debug output (followup 251aca6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 24, 2015
1 parent 251aca6 commit b87cb29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -561,7 +561,6 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
}
else
{
QgsDebugMsg( QString( "mTiled:%1 mMaxWidth:%2 mMaxHeight:%3" ).arg( mSettings.mTiled ).arg( mSettings.mMaxWidth ).arg( mSettings.mMaxHeight ) );
mTileReqNo++;

double vres = viewExtent.width() / pixelWidth;
Expand Down Expand Up @@ -599,7 +598,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in

tileMode = mTileLayer->tileMode;
}
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight && != 0 )
else if ( mSettings.mMaxWidth != 0 && mSettings.mMaxHeight != 0 )
{
static QgsWmtsTileMatrix tempTm;
tempTm.topLeft = QgsPoint( mLayerExtent.xMinimum(), mLayerExtent.yMaximum() );
Expand All @@ -614,7 +613,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
else
{
QgsDebugMsg( "empty tile size" );
return mCacheImage;
return mCachedImage;
}

QgsDebugMsg( QString( "layer extent: %1,%2 %3x%4" )
Expand Down

0 comments on commit b87cb29

Please sign in to comment.