Skip to content

Commit bac663a

Browse files
author
jef
committedDec 15, 2008
fix #1462
git-svn-id: http://svn.osgeo.org/qgis/trunk@9805 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 58ae765 commit bac663a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/core/qgsrasterlayer.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ public:
489489
bool readXml( QDomNode & layer_node );
490490

491491
/** \brief Write the symbology for the layer into the docment provided */
492-
bool writeSymbology( QDomNode&, QDomDocument& doc, QString& errorMessage );
492+
bool writeSymbology( QDomNode&, QDomDocument& doc, QString& errorMessage ) const;
493493

494494
/** \brief Write layer specific state to project file Dom node */
495495
bool writeXml( QDomNode & layer_node, QDomDocument & doc );

‎python/core/qgsvectorlayer.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public:
130130
* @param errorMessage reference to string that will be updated with any error messages
131131
* @return true in case of success.
132132
*/
133-
bool writeSymbology(QDomNode&, QDomDocument& doc, QString& errorMessage);
133+
bool writeSymbology(QDomNode&, QDomDocument& doc, QString& errorMessage) const;
134134

135135
/**
136136
* Number of features in the layer. This is necessary if features are

0 commit comments

Comments
 (0)
Please sign in to comment.