Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored Jul 17, 2024
1 parent a92819d commit cf2d1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/providers/arcgis/qgsarcgisrestutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,8 @@ std::unique_ptr<QgsMarkerSymbol> QgsArcGisRestUtils::parseEsriTextMarkerSymbolJs
markerLayer->setSizeUnit( Qgis::RenderUnit::Points );
markerLayer->setStrokeWidthUnit( Qgis::RenderUnit::Points );

QgsMarkerSymbolLayer::HorizontalAnchorPoint hAlign;
QgsMarkerSymbolLayer::VerticalAnchorPoint vAlign;
QgsMarkerSymbolLayer::HorizontalAnchorPoint hAlign = QgsMarkerSymbolLayer::HorizontalAnchorPoint::HCenter;
QgsMarkerSymbolLayer::VerticalAnchorPoint vAlign = QgsMarkerSymbolLayer::VerticalAnchorPoint::VCenter;

QString horizontalAnchorPoint = symbolData.value( QStringLiteral( "horizontalAlignment" ) ).toString();
QString verticalAnchorPoint = symbolData.value( QStringLiteral( "verticalAlignment" ) ).toString();
Expand Down

0 comments on commit cf2d1aa

Please sign in to comment.