Apply patch of patch.

This commit is contained in:
joerg 2013-01-11 13:27:03 +00:00
parent e55c651695
commit 34b38652fe
2 changed files with 13 additions and 16 deletions

View file

@ -0,0 +1,13 @@
$NetBSD: patch-src_core_qgsvectorlayer.h,v 1.1 2013/01/11 13:27:03 joerg Exp $
--- src/core/qgsvectorlayer.h.orig 2012-12-25 15:25:41.000000000 +0000
+++ src/core/qgsvectorlayer.h
@@ -262,7 +262,7 @@ class CORE_EXPORT QgsVectorLayer : publi
/** write vector layer specific state to project file Dom node.
* @note Called by QgsMapLayer::writeXML().
*/
- virtual bool writeXml( QDomNode & layer_node, QDomDocument & doc );
+ virtual bool writeXml( QDomNode & layer_node, QDomDocument & doc ) const;
/** Read the symbology for the current layer from the Dom node supplied.
* @param node node that will contain the symbology definition for this layer.

View file

@ -1,16 +0,0 @@
--- geography/qgis/patches/patch-src_core_qgsvectorlayer.h
+++ geography/qgis/patches/patch-src_core_qgsvectorlayer.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_core_qgsvectorlayer.h.diff,v 1.1 2013/01/10 23:58:30 joerg Exp $
+
+--- src/core/qgsvectorlayer.h.orig 2012-12-25 15:25:41.000000000 +0000
++++ src/core/qgsvectorlayer.h
+@@ -262,7 +262,7 @@ class CORE_EXPORT QgsVectorLayer : publi
+ /** write vector layer specific state to project file Dom node.
+ * @note Called by QgsMapLayer::writeXML().
+ */
+- virtual bool writeXml( QDomNode & layer_node, QDomDocument & doc );
++ virtual bool writeXml( QDomNode & layer_node, QDomDocument & doc ) const;
+
+ /** Read the symbology for the current layer from the Dom node supplied.
+ * @param node node that will contain the symbology definition for this layer.