Skip to content

Commit

Permalink
Clean QgsVectorLayer: remove duplicated writeSld method
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 25, 2016
1 parent 7470b55 commit f8bae67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -2048,11 +2048,6 @@ bool QgsVectorLayer::readSld( const QDomNode& node, QString& errorMessage )
return true;
}

bool QgsVectorLayer::writeSld( QDomNode& node, QDomDocument& doc, QString& errorMessage ) const
{
return writeSld( node, doc, errorMessage, QgsStringMap() );
}

bool QgsVectorLayer::writeSld( QDomNode& node, QDomDocument& doc, QString& errorMessage, const QgsStringMap& props ) const
{
Q_UNUSED( errorMessage );
Expand Down
2 changes: 0 additions & 2 deletions src/core/qgsvectorlayer.h
Expand Up @@ -821,8 +821,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
*/
bool writeStyle( QDomNode& node, QDomDocument& doc, QString& errorMessage ) const override;

bool writeSld( QDomNode& node, QDomDocument& doc, QString& errorMessage ) const;

/**
* Writes the symbology of the layer into the document provided in SLD 1.1 format
* @param node the node that will have the style element added to it.
Expand Down

0 comments on commit f8bae67

Please sign in to comment.