summaryrefslogtreecommitdiffstats
path: root/src/xml/element-node.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-20 22:54:29 +0000
committermental <mental@users.sourceforge.net>2007-03-20 22:54:29 +0000
commit5063f31f609ad9c89e7b6d0667c39bc4fad35c27 (patch)
tree70d2c4b365d2cf1d2272fb015297816b92f604f3 /src/xml/element-node.h
parentImplementing feature request #1673807: snapping of gradient handles (diff)
downloadinkscape-5063f31f609ad9c89e7b6d0667c39bc4fad35c27.tar.gz
inkscape-5063f31f609ad9c89e7b6d0667c39bc4fad35c27.zip
plumb XML::Document parameter into duplication, courtesy of bryce
(bzr r2723)
Diffstat (limited to 'src/xml/element-node.h')
-rw-r--r--src/xml/element-node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/element-node.h b/src/xml/element-node.h
index b9b7a4034..4bac55f83 100644
--- a/src/xml/element-node.h
+++ b/src/xml/element-node.h
@@ -29,7 +29,7 @@ public:
Inkscape::XML::NodeType type() const { return Inkscape::XML::ELEMENT_NODE; }
protected:
- SimpleNode *_duplicate() const { return new ElementNode(*this); }
+ SimpleNode *_duplicate(Document* doc) const { return new ElementNode(*this); }
};
}