diff options
| author | MenTaLguY <mental@rydia.net> | 2008-06-11 16:34:55 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-06-11 16:34:55 +0000 |
| commit | 4b02827706c670446c14fe95e705a29d97622864 (patch) | |
| tree | ae99b91eef8b453b64144fff697e30aa544d8af4 /src/extension/implementation | |
| parent | re-enable assertions (diff) | |
| download | inkscape-4b02827706c670446c14fe95e705a29d97622864.tar.gz inkscape-4b02827706c670446c14fe95e705a29d97622864.zip | |
fix bug #239092
(bzr r5886)
Diffstat (limited to 'src/extension/implementation')
| -rw-r--r-- | src/extension/implementation/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 4eeb3f27f..4c705f5cf 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -844,11 +844,11 @@ Script::copy_doc (Inkscape::XML::Node * oldroot, Inkscape::XML::Node * newroot) for (Inkscape::XML::Node * newroot_namedview_child = child->firstChild(); newroot_namedview_child != NULL; newroot_namedview_child = newroot_namedview_child->next()) { - oldroot_namedview->appendChild(newroot_namedview_child->duplicate(child->document())); + oldroot_namedview->appendChild(newroot_namedview_child->duplicate(oldroot->document())); } } } else { - oldroot->appendChild(child->duplicate(newroot->document())); + oldroot->appendChild(child->duplicate(oldroot->document())); } } |
