summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-06-27 06:34:35 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-06-27 06:34:35 +0000
commitf5315c60ff13f0ef337243245ce35f712b665adb (patch)
tree17d39880fe07a58b3b7013fcea2f6356851734d1 /src/sp-item.cpp
parent(bzr r3144) (diff)
downloadinkscape-f5315c60ff13f0ef337243245ce35f712b665adb.tar.gz
inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.zip
use an accessor method to get filter from style
(bzr r3145)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 7c1a46447..8b101896f 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -1201,7 +1201,7 @@ sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, NR::Matrix cons
!preserve && // user did not chose to preserve all transforms
!item->clip_ref->getObject() && // the object does not have a clippath
!item->mask_ref->getObject() && // the object does not have a mask
- !(!transform.is_translation() && SP_OBJECT_STYLE(item) && SP_OBJECT_STYLE(item)->filter.href->getObject())
+ !(!transform.is_translation() && SP_OBJECT_STYLE(item) && SP_OBJECT_STYLE(item)->getFilter())
// the object does not have a filter, or the transform is translation (which is supposed to not affect filters)
) {
transform_attr = ((SPItemClass *) G_OBJECT_GET_CLASS(item))->set_transform(item, transform);