From ea7c6d6955f9004ccbd10dab39f3444691c4e689 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 30 Mar 2007 05:49:59 +0000 Subject: [PATCH] fix 1690914 --- src/sp-use.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2