summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 46b544382..699d95054 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -397,7 +397,7 @@ static void
sp_style_filter_ref_modified(SPObject *obj, guint flags, SPStyle *style)
{
SPFilter *filter=static_cast<SPFilter *>(obj);
- if (style->filter.href->getObject() == filter)
+ if (style->getFilter() == filter)
{
if (style->object) {
style->object->requestModified(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);