Skip to content

Commit 7ce8cad

Browse files
committed
Fix Travis build, take 2
1 parent 8af7265 commit 7ce8cad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/core/symbology-ng/qgspointdisplacementrenderer.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class QgsPointDisplacementRenderer : QgsFeatureRendererV2
6969
QString labelAttributeName() const;
7070

7171
void setEmbeddedRenderer( QgsFeatureRendererV2* r /Transfer/ );
72-
QgsFeatureRendererV2* embeddedRenderer();
72+
const QgsFeatureRendererV2* embeddedRenderer() const;
7373

7474
virtual void setLegendSymbolItem( const QString& key, QgsSymbolV2* symbol );
7575

src/core/qgsvectorlayer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2985,7 +2985,7 @@ void QgsVectorLayer::uniqueValues( int index, QList<QVariant> &uniqueValues, int
29852985
mDataProvider->uniqueValues( index, uniqueValues, limit );
29862986
return;
29872987
}
2988-
2988+
FALLTHROUGH;
29892989
//we need to go through each feature
29902990
case QgsFields::OriginJoin:
29912991
case QgsFields::OriginExpression:
@@ -3046,7 +3046,7 @@ QVariant QgsVectorLayer::minimumValue( int index )
30463046
return mDataProvider->minimumValue( index );
30473047
}
30483048
}
3049-
3049+
FALLTHROUGH;
30503050
// no choice but to go through all features
30513051
case QgsFields::OriginExpression:
30523052
case QgsFields::OriginJoin:
@@ -3104,7 +3104,7 @@ QVariant QgsVectorLayer::maximumValue( int index )
31043104
return mDataProvider->maximumValue( index );
31053105
}
31063106

3107-
3107+
FALLTHROUGH;
31083108
//no choice but to go through each feature
31093109
case QgsFields::OriginJoin:
31103110
case QgsFields::OriginExpression:

0 commit comments

Comments
 (0)