summaryrefslogtreecommitdiffstats
path: root/src/sp-use.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-30 05:49:59 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-30 05:49:59 +0000
commit41034ccdede3890037e4f056277ca4e660161360 (patch)
tree033dc8b68f0421270bec9a21d8000d412be3f8b5 /src/sp-use.cpp
parentfix warning when redoing undone rect draw (diff)
downloadinkscape-41034ccdede3890037e4f056277ca4e660161360.tar.gz
inkscape-41034ccdede3890037e4f056277ca4e660161360.zip
fix 1690914
(bzr r2784)
Diffstat (limited to 'src/sp-use.cpp')
-rw-r--r--src/sp-use.cpp2
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.