summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 5157ff7eb..cba70f126 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -754,7 +754,7 @@ Inkscape::XML::Node* SPItem::write(Inkscape::XML::Document *xml_doc, Inkscape::X
}
if (item->mask_ref){
if (item->mask_ref->getObject()) {
- auto value = item->clip_ref->getURI()->cssStr();
+ auto value = item->mask_ref->getURI()->cssStr();
repr->setAttribute("mask", value.c_str());
}
}