diff options
Diffstat (limited to 'src/xml/rebase-hrefs.cpp')
| -rw-r--r-- | src/xml/rebase-hrefs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/rebase-hrefs.cpp b/src/xml/rebase-hrefs.cpp index 065517160..b2efd7ee6 100644 --- a/src/xml/rebase-hrefs.cpp +++ b/src/xml/rebase-hrefs.cpp @@ -230,7 +230,7 @@ void Inkscape::XML::rebase_hrefs(SPDocument *const doc, gchar const *const new_b * cases. */ GSList const *images = doc->getResourceList("image"); for (GSList const *l = images; l != NULL; l = l->next) { - Inkscape::XML::Node *ir = SP_OBJECT_REPR(l->data); + Inkscape::XML::Node *ir = static_cast<SPObject *>(l->data)->getRepr(); gchar const *const href = ir->attribute("xlink:href"); /* TODO: Most of this function currently treats href as if it were a simple filename |
