diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-20 22:54:29 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-20 22:54:29 +0000 |
| commit | 5063f31f609ad9c89e7b6d0667c39bc4fad35c27 (patch) | |
| tree | 70d2c4b365d2cf1d2272fb015297816b92f604f3 /src/sp-filter.cpp | |
| parent | Implementing feature request #1673807: snapping of gradient handles (diff) | |
| download | inkscape-5063f31f609ad9c89e7b6d0667c39bc4fad35c27.tar.gz inkscape-5063f31f609ad9c89e7b6d0667c39bc4fad35c27.zip | |
plumb XML::Document parameter into duplication, courtesy of bryce
(bzr r2723)
Diffstat (limited to 'src/sp-filter.cpp')
| -rw-r--r-- | src/sp-filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp index 729e13d4a..ef5d71483 100644 --- a/src/sp-filter.cpp +++ b/src/sp-filter.cpp @@ -269,7 +269,7 @@ sp_filter_write(SPObject *object, Inkscape::XML::Node *repr, guint flags) SPFilter *filter = SP_FILTER(object); if (!repr) { - repr = SP_OBJECT_REPR(object)->duplicate(); + repr = SP_OBJECT_REPR(object)->duplicate(repr->document()); } if ((flags & SP_OBJECT_WRITE_ALL) || filter->filterUnits_set) { |
