Skip to content
Permalink
Browse files

[WFS provider] Fix build problem due to signature change of QgsRectan…

…gle::combineExtentWith()
  • Loading branch information
rouault committed May 30, 2016
1 parent a023f55 commit 0367d7a342ddada08e2e3cf52ec73dec8275b381
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/wfs/qgswfsprovider.cpp
  2. +1 −1 src/providers/wfs/qgswfsshareddata.cpp
@@ -706,7 +706,7 @@ QgsRectangle QgsWFSProvider::extent()
return computedExtent;
}

computedExtent.combineExtentWith( &mShared->mCapabilityExtent );
computedExtent.combineExtentWith( mShared->mCapabilityExtent );
return computedExtent;
}

@@ -884,7 +884,7 @@ void QgsWFSSharedData::serializeFeatures( QVector<QgsWFSFeatureGmlIdPair>& featu
if ( localComputedExtent.isNull() )
localComputedExtent = bBox;
else
localComputedExtent.combineExtentWith( &bBox );
localComputedExtent.combineExtentWith( bBox );
QgsGeometry* polyBoundingBox = QgsGeometry::fromRect( bBox );
cachedFeature.setGeometry( polyBoundingBox );
}

0 comments on commit 0367d7a

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