summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01a6735)
raw | patch | inline | side by side (parent: 01a6735)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 30 Mar 2007 05:49:59 +0000 (05:49 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 30 Mar 2007 05:49:59 +0000 (05:49 +0000) |
src/sp-use.cpp | patch | blob | history |
diff --git a/src/sp-use.cpp b/src/sp-use.cpp
index 8aa8d3090f6bf0aa713fb811c173add3b7cbec86..cc23349a4046395bfbd83ea02485010e88be321d 100644 (file)
--- a/src/sp-use.cpp
+++ b/src/sp-use.cpp
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.