summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index afca379ca..22425547e 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -1070,7 +1070,7 @@ file_import(Document *in_doc, const Glib::ustring &uri,
}
if (doc != NULL) {
- Inkscape::XML::rebase_hrefs(doc, in_doc->base, true);
+ Inkscape::XML::rebase_hrefs((Inkscape::XML::Document *)doc, in_doc->base, true);
Inkscape::XML::Document *xml_in_doc = sp_document_repr_doc(in_doc);
prevent_id_clashes(doc, in_doc);