From: buliabyak Date: Fri, 30 Mar 2007 05:49:59 +0000 (+0000) Subject: fix 1690914 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ea7c6d6955f9004ccbd10dab39f3444691c4e689;p=inkscape.git fix 1690914 --- diff --git a/src/sp-use.cpp b/src/sp-use.cpp index 8aa8d3090..cc23349a4 100644 --- a/src/sp-use.cpp +++ b/src/sp-use.cpp @@ -669,7 +669,7 @@ sp_use_unlink(SPUse *use) copy->appendChild(newchild); } } else { // just copy - copy = SP_OBJECT_REPR(orig)->duplicate(copy->document()); + copy = SP_OBJECT_REPR(orig)->duplicate(SP_OBJECT_REPR(orig)->document()); } // Add the duplicate repr just after the existing one.