[WFS provider] Fix build problem due to signature change of QgsRectangle::combineExtentWith()

This commit is contained in:
Even Rouault 2016-05-30 19:39:47 +02:00
parent a023f55b9d
commit 0367d7a342
2 changed files with 2 additions and 2 deletions

View File

@ -706,7 +706,7 @@ QgsRectangle QgsWFSProvider::extent()
return computedExtent;
}
computedExtent.combineExtentWith( &mShared->mCapabilityExtent );
computedExtent.combineExtentWith( mShared->mCapabilityExtent );
return computedExtent;
}

View File

@ -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 );
}