From 0367d7a342ddada08e2e3cf52ec73dec8275b381 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 30 May 2016 19:39:47 +0200 Subject: [PATCH] [WFS provider] Fix build problem due to signature change of QgsRectangle::combineExtentWith() --- src/providers/wfs/qgswfsprovider.cpp | 2 +- src/providers/wfs/qgswfsshareddata.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/wfs/qgswfsprovider.cpp b/src/providers/wfs/qgswfsprovider.cpp index 16821ccdc14..c9b872ef2e8 100644 --- a/src/providers/wfs/qgswfsprovider.cpp +++ b/src/providers/wfs/qgswfsprovider.cpp @@ -706,7 +706,7 @@ QgsRectangle QgsWFSProvider::extent() return computedExtent; } - computedExtent.combineExtentWith( &mShared->mCapabilityExtent ); + computedExtent.combineExtentWith( mShared->mCapabilityExtent ); return computedExtent; } diff --git a/src/providers/wfs/qgswfsshareddata.cpp b/src/providers/wfs/qgswfsshareddata.cpp index 5c3890ccfa0..780719ae7c6 100644 --- a/src/providers/wfs/qgswfsshareddata.cpp +++ b/src/providers/wfs/qgswfsshareddata.cpp @@ -884,7 +884,7 @@ void QgsWFSSharedData::serializeFeatures( QVector& featu if ( localComputedExtent.isNull() ) localComputedExtent = bBox; else - localComputedExtent.combineExtentWith( &bBox ); + localComputedExtent.combineExtentWith( bBox ); QgsGeometry* polyBoundingBox = QgsGeometry::fromRect( bBox ); cachedFeature.setGeometry( polyBoundingBox ); }