From 41034ccdede3890037e4f056277ca4e660161360 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Fri, 30 Mar 2007 05:49:59 +0000 Subject: fix 1690914 (bzr r2784) --- src/sp-use.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-use.cpp') 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. -- cgit v1.2.3