Skip to content

Commit

Permalink
Fix clang-tidy issues unrelated to this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 15, 2023
1 parent 8bd7832 commit ac3701e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/symbology/qgsfillsymbollayer.cpp
Expand Up @@ -2569,7 +2569,7 @@ void QgsSVGFillSymbolLayer::setParameters( const QMap<QString, QgsProperty> &par
QgsLinePatternFillSymbolLayer::QgsLinePatternFillSymbolLayer()
: QgsImageFillSymbolLayer()
{
setSubSymbol( new QgsLineSymbol() );
mFillLineSymbol = std::make_unique<QgsLineSymbol>( );
QgsImageFillSymbolLayer::setSubSymbol( nullptr ); //no stroke
}

Expand Down Expand Up @@ -3571,7 +3571,7 @@ QgsSymbolLayer *QgsLinePatternFillSymbolLayer::createFromSld( QDomElement &eleme
QgsPointPatternFillSymbolLayer::QgsPointPatternFillSymbolLayer()
: QgsImageFillSymbolLayer()
{
setSubSymbol( new QgsMarkerSymbol() );
mMarkerSymbol = std::make_unique<QgsMarkerSymbol>();
QgsImageFillSymbolLayer::setSubSymbol( nullptr ); //no stroke
}

Expand Down

0 comments on commit ac3701e

Please sign in to comment.