From 89129c4e71a5a2af0b4d249c261e30e8e6532158 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Sat, 3 Nov 2018 19:44:23 +0000 Subject: Inkscape::URI API enhancements --- src/style-internal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/style-internal.cpp') 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(""); } -- cgit v1.2.3