Skip to content

Commit 9a075ab

Browse files
author
jef
committed
merge r9805 from trunk
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@9806 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7de7e4a commit 9a075ab

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)