Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Clean QgsVectorLayer: remove duplicated writeSld method
- Loading branch information
Showing
with
0 additions
and
7 deletions.
-
+0
−5
src/core/qgsvectorlayer.cpp
-
+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. |
|
|