Code

Add translator hint.
[inkscape.git] / src / xml / text-node.h
index c07d70f651cef224185baeae83227453801ecf39..36f638ad90a29e7997dcb26a4e76d5b4f5acdab0 100644 (file)
@@ -23,7 +23,7 @@ namespace Inkscape {
 namespace XML {
 
 struct TextNode : public SimpleNode {
-    TextNode(Util::SharedCStringPtr content)
+    TextNode(Util::ptr_shared<char> content)
     : SimpleNode(g_quark_from_static_string("string"))
     {
         setContent(content);
@@ -32,7 +32,7 @@ struct TextNode : public SimpleNode {
     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); }
 };
 
 }