Skip to content
Permalink
Browse files

fix build (followup 6de2828)

  • Loading branch information
jef-n committed Feb 24, 2015
1 parent 04ff46f commit 85c811b144a6d353c97b90df76296cbb96f363ec
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsprovider.cpp
@@ -598,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() );
@@ -613,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" )

0 comments on commit 85c811b

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