Skip to content
Permalink
Browse files
Clean QgsVectorLayer: remove duplicated writeSld method
  • Loading branch information
rldhont committed Oct 25, 2016
1 parent 7470b55 commit f8bae671964c5f2bca9b6bc31b7cb57bc91d4d13
Showing with 0 additions and 7 deletions.
  1. +0 −5 src/core/qgsvectorlayer.cpp
  2. +0 −2 src/core/qgsvectorlayer.h
@@ -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 );
@@ -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.

0 comments on commit f8bae67

Please sign in to comment.