diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-06-27 06:34:35 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-06-27 06:34:35 +0000 |
| commit | f5315c60ff13f0ef337243245ce35f712b665adb (patch) | |
| tree | 17d39880fe07a58b3b7013fcea2f6356851734d1 /src/selection-chemistry.cpp | |
| parent | (bzr r3144) (diff) | |
| download | inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.tar.gz inkscape-f5315c60ff13f0ef337243245ce35f712b665adb.zip | |
use an accessor method to get filter from style
(bzr r3145)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 27c04f1dd..ce66243cc 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -953,8 +953,8 @@ void sp_copy_stuff_used_by_item (GSList **defs_clip, SPItem *item, const GSList } } - if (style->filter.href->getObject()) { - SPObject *filter = style->filter.href->getObject(); + if (style->getFilter()) { + SPObject *filter = style->getFilter(); if (SP_IS_FILTER(filter)) { sp_copy_single (defs_clip, filter, xml_doc); } |
