diff --git a/src/core/providers/arcgis/qgsarcgisrestutils.cpp b/src/core/providers/arcgis/qgsarcgisrestutils.cpp index 2ffaed7296e7a..990d0abc3dedc 100644 --- a/src/core/providers/arcgis/qgsarcgisrestutils.cpp +++ b/src/core/providers/arcgis/qgsarcgisrestutils.cpp @@ -1412,6 +1412,8 @@ QVariantList QgsArcGisRestUtils::polygonToJsonRings( const QgsPolygon *polygon ) rings.push_back( lineStringToJsonPath( reversed.get() ) ); break; } + case Qgis::AngularDirection::NoOrientation: + break; } } @@ -1431,6 +1433,8 @@ QVariantList QgsArcGisRestUtils::polygonToJsonRings( const QgsPolygon *polygon ) rings.push_back( lineStringToJsonPath( reversed.get() ) ); break; } + case Qgis::AngularDirection::NoOrientation: + break; } } return rings; @@ -1457,6 +1461,8 @@ QVariantList QgsArcGisRestUtils::curvePolygonToJsonRings( const QgsCurvePolygon rings.push_back( curveToJsonCurve( reversed.get(), true ) ); break; } + case Qgis::AngularDirection::NoOrientation: + break; } } @@ -1476,6 +1482,8 @@ QVariantList QgsArcGisRestUtils::curvePolygonToJsonRings( const QgsCurvePolygon rings.push_back( curveToJsonCurve( reversed.get(), true ) ); break; } + case Qgis::AngularDirection::NoOrientation: + break; } } return rings; diff --git a/src/core/qgscolorrampimpl.cpp b/src/core/qgscolorrampimpl.cpp index 31ec562956e51..7664cffd333d4 100644 --- a/src/core/qgscolorrampimpl.cpp +++ b/src/core/qgscolorrampimpl.cpp @@ -94,6 +94,8 @@ static QColor _interpolateHsv( const QColor &c1, const QColor &c2, const double hue -= 1; break; } + case Qgis::AngularDirection::NoOrientation: + break; } } @@ -151,6 +153,8 @@ static QColor _interpolateHsl( const QColor &c1, const QColor &c2, const double hue -= 1; break; } + case Qgis::AngularDirection::NoOrientation: + break; } } @@ -473,6 +477,8 @@ QVariantMap QgsGradientColorRamp::properties() const case Qgis::AngularDirection::CounterClockwise: map[QStringLiteral( "direction" ) ] = QStringLiteral( "ccw" ); break; + case Qgis::AngularDirection::NoOrientation: + break; } map[QStringLiteral( "rampType" )] = type();