diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 18:32:38 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 18:32:38 +0000 |
| commit | e8b5612f8dbe3cefaf56469320fa12bea9713a1b (patch) | |
| tree | 74775a17063750fef065108a67621107c9f56122 /src/xml/repr-css.cpp | |
| parent | SPDocument->Document (diff) | |
| download | inkscape-e8b5612f8dbe3cefaf56469320fa12bea9713a1b.tar.gz inkscape-e8b5612f8dbe3cefaf56469320fa12bea9713a1b.zip | |
xml/Document -> DocumentTree
(bzr r8417)
Diffstat (limited to 'src/xml/repr-css.cpp')
| -rw-r--r-- | src/xml/repr-css.cpp | 8 |
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); |
