diff options
Diffstat (limited to 'src/xml/repr.h')
| -rw-r--r-- | src/xml/repr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/repr.h b/src/xml/repr.h index b40fe63a9..549822e4e 100644 --- a/src/xml/repr.h +++ b/src/xml/repr.h @@ -148,7 +148,7 @@ Inkscape::XML::Node *sp_repr_lookup_child(Inkscape::XML::Node *repr, gchar const *value); -inline Inkscape::XML::Node *sp_repr_document_first_child(Inkscape::XML::DocumentTree const *doc) { +inline Inkscape::XML::Node *sp_repr_document_first_child(Inkscape::XML::Document const *doc) { return const_cast<Inkscape::XML::Node *>(doc->firstChild()); } |
