diff options
Diffstat (limited to 'src/sp-use.cpp')
| -rw-r--r-- | src/sp-use.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
