summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
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("");
}