diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2018-11-05 22:37:54 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-11-05 22:37:54 +0000 |
| commit | 8fe8df064850bdaf5cd0c6015430c4b12132c8ab (patch) | |
| tree | 2ef547a667ff1f1a3ba8fc66dc8350b5ae3c4089 /src/object/sp-tref.cpp | |
| parent | Replacement for xmlBuildRelativeURI (diff) | |
| download | inkscape-8fe8df064850bdaf5cd0c6015430c4b12132c8ab.tar.gz inkscape-8fe8df064850bdaf5cd0c6015430c4b12132c8ab.zip | |
remove Inkscape::URI::toString
Diffstat (limited to 'src/object/sp-tref.cpp')
| -rw-r--r-- | src/object/sp-tref.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-tref.cpp b/src/object/sp-tref.cpp index c3db8780f..ef5b6c106 100644 --- a/src/object/sp-tref.cpp +++ b/src/object/sp-tref.cpp @@ -173,10 +173,10 @@ Inkscape::XML::Node* SPTRef::write(Inkscape::XML::Document *xml_doc, Inkscape::X this->attributes.writeTo(repr); if (this->uriOriginalRef->getURI()) { - gchar *uri_string = this->uriOriginalRef->getURI()->toString(); + auto uri = this->uriOriginalRef->getURI()->str(); + auto uri_string = uri.c_str(); debug("uri_string=%s", uri_string); repr->setAttribute("xlink:href", uri_string); - g_free(uri_string); } SPItem::write(xml_doc, repr, flags); |
