summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 17ad85dc3..2d82791af 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -686,7 +686,7 @@ SPStyle::readIfUnset(SPAttributeEnum id, gchar const *val, SPStyleSrc const &sou
//XML Tree being directly used here.
if (object) {
- object->getRepr()->setAttribute("clip-path", val);
+ object->setAttribute("clip-path", val);
}
return;
case SP_PROP_MASK:
@@ -697,7 +697,7 @@ SPStyle::readIfUnset(SPAttributeEnum id, gchar const *val, SPStyleSrc const &sou
//XML Tree being directly used here.
if (object) {
- object->getRepr()->setAttribute("mask", val);
+ object->setAttribute("mask", val);
}
return;
case SP_PROP_FILTER: