summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-css.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/repr-css.cpp')
-rw-r--r--src/xml/repr-css.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp
index 172cfa6f3..a7e913853 100644
--- a/src/xml/repr-css.cpp
+++ b/src/xml/repr-css.cpp
@@ -22,15 +22,15 @@ using Inkscape::XML::NodeType;
struct SPCSSAttrImpl : public SimpleNode, public SPCSSAttr {
public:
- SPCSSAttrImpl(Document *doc)
+ SPCSSAttrImpl(Inkscape::XML::Document *doc)
: SimpleNode(g_quark_from_static_string("css"), doc) {}
- SPCSSAttrImpl(SPCSSAttrImpl const &other, Document *doc)
- : SimpleNode(other, doc) {}
+ SPCSSAttrImpl(SPCSSAttrImpl const &other, Inkscape::XML::Document *doc)
+ : SimpleNode(other, (Inkscape::XML::Document *)doc) {}
NodeType type() const { return Inkscape::XML::ELEMENT_NODE; }
protected:
- SimpleNode *_duplicate(Inkscape::XML::Document* doc) const { return new SPCSSAttrImpl(*this, doc); }
+ SimpleNode *_duplicate(Inkscape::XML::Document* doc) const { return new SPCSSAttrImpl(*this, (Inkscape::XML::Document *)doc); }
};
static void sp_repr_css_add_components(SPCSSAttr *css, Node *repr, gchar const *attr);