summaryrefslogtreecommitdiffstats
path: root/src/xml/rebase-hrefs.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
commitf1e0309a7ffe42441f86def97f54aa57d86f1624 (patch)
tree7226490a904223b0fd208c488ae157d9a92bc819 /src/xml/rebase-hrefs.cpp
parentProgress Bar workinggit add .git add . (diff)
parentMerge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape (diff)
downloadinkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.tar.gz
inkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.zip
Merge branch 'master' into SymbolsSearch
Diffstat (limited to 'src/xml/rebase-hrefs.cpp')
-rw-r--r--src/xml/rebase-hrefs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/rebase-hrefs.cpp b/src/xml/rebase-hrefs.cpp
index a34df09a5..c023dc670 100644
--- a/src/xml/rebase-hrefs.cpp
+++ b/src/xml/rebase-hrefs.cpp
@@ -112,8 +112,8 @@ Inkscape::XML::rebase_href_attrs(gchar const *const old_abs_base,
*
* However, if we find that xlink:href doesn't need rebasing, then return immediately
* with no change to attributes. */
- ptr_shared<char> old_href;
- ptr_shared<char> sp_absref;
+ ptr_shared old_href;
+ ptr_shared sp_absref;
List<AttributeRecord const> ret;
{
for (List<AttributeRecord const> ai(attributes); ai; ++ai) {