summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-11-03 19:44:23 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-11-03 19:44:23 +0000
commit89129c4e71a5a2af0b4d249c261e30e8e6532158 (patch)
tree0f6ad42b76ac2be46d049a23c61d7e85a21c4bdf /src/style-internal.cpp
parentMinor yaxis fix for meassure tool (diff)
downloadinkscape-89129c4e71a5a2af0b4d249c261e30e8e6532158.tar.gz
inkscape-89129c4e71a5a2af0b4d249c261e30e8e6532158.zip
Inkscape::URI API enhancements
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index fd3510c94..186d382f0 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1335,7 +1335,7 @@ const Glib::ustring SPIPaint::get_value() const
// url must go first as other values can serve as fallbacks
auto ret = Glib::ustring("");
if (this->value.href && this->value.href->getURI()) {
- ret += this->value.href->getURI()->toStdString(true);
+ ret += this->value.href->getURI()->cssStr();
}
switch(this->paintOrigin) {
case SP_CSS_PAINT_ORIGIN_CURRENT_COLOR:
@@ -1698,7 +1698,7 @@ SPIFilter::read( gchar const *str ) {
const Glib::ustring SPIFilter::get_value() const
{
if (this->inherit) return Glib::ustring("inherit");
- if (this->href) return this->href->getURI()->toStdString(true);
+ if (this->href) return this->href->getURI()->cssStr();
return Glib::ustring("");
}