diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-02-22 09:17:44 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-02-22 09:17:44 +0000 |
| commit | 0e0ce7571944e0a9d60294b6efdc855e6df52db8 (patch) | |
| tree | 3cd452f4abfb51a8f4ffbbb08d001f651ff65d29 /src/xml/rebase-hrefs.cpp | |
| parent | Finished cleanup of outdated SP_OBJECT_STYLE C macro. (diff) | |
| download | inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.tar.gz inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.zip | |
Finished cleanup of outdated SP_OBJECT_REPR C macro.
(bzr r10067)
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 |
