Skip to content

Commit

Permalink
fix #1462
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9805 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 15, 2008
1 parent 58ae765 commit bac663a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/qgsrasterlayer.sip
Expand Up @@ -489,7 +489,7 @@ public:
bool readXml( QDomNode & layer_node );

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

/** \brief Write layer specific state to project file Dom node */
bool writeXml( QDomNode & layer_node, QDomDocument & doc );
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsvectorlayer.sip
Expand Up @@ -130,7 +130,7 @@ public:
* @param errorMessage reference to string that will be updated with any error messages
* @return true in case of success.
*/
bool writeSymbology(QDomNode&, QDomDocument& doc, QString& errorMessage);
bool writeSymbology(QDomNode&, QDomDocument& doc, QString& errorMessage) const;

/**
* Number of features in the layer. This is necessary if features are
Expand Down

0 comments on commit bac663a

Please sign in to comment.