diff --git a/src/xml/text-node.h b/src/xml/text-node.h
index bd6095f3b1658ea86f6c27f9a8f81b906efc2067..36f638ad90a29e7997dcb26a4e76d5b4f5acdab0 100644 (file)
--- a/src/xml/text-node.h
+++ b/src/xml/text-node.h
Inkscape::XML::NodeType type() const { return Inkscape::XML::TEXT_NODE; }
protected:
- SimpleNode *_duplicate() const { return new TextNode(*this); }
+ SimpleNode *_duplicate(Document* doc) const { return new TextNode(*this); }
};
}