diff options
author | Noel Power <noel.power@novell.com> | 2012-02-07 11:47:13 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-02-08 21:30:04 +0100 |
commit | 01cb770ff2c97a3befee5f52ff0563d5e9525f29 (patch) | |
tree | f67c026630f5090b1fa6fb68e0c15520902fc2c2 | |
parent | 910c68b5ddc30fb8dc63b67470105d0960fa04a1 (diff) |
fix problem with vba Range.Copy ( for multirange ) bnc#707486
(cherry picked from commit b0602d2f179182de42bffb739252cc3f3705d18f)
Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/core/data/document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 61fdbe5e848c..93a067eb5a72 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -1948,7 +1948,7 @@ void ScDocument::CopyToClip(const ScClipParam& rClipParam, { pClipDoc->ResetClip( this, nTab ); i = nTab; - nEndTab = nTab; + nEndTab = nTab + 1; } else pClipDoc->ResetClip(this, pMarks); |