summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-02-07 11:47:13 +0000
committerNoel Power <noel.power@novell.com>2012-02-07 11:48:34 +0000
commitb0602d2f179182de42bffb739252cc3f3705d18f (patch)
tree21c58a1db06f97bde8676c20fc2713d28f45d036
parentcbccd5b5050ec8a1f4ee6532e71a6a245db6da2e (diff)
fix problem with vba Range.Copy ( for multirange ) bnc#707486
-rw-r--r--sc/source/core/data/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 22ec123221b2..13ccc623e536 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1933,7 +1933,7 @@ void ScDocument::CopyToClip(const ScClipParam& rClipParam,
{
pClipDoc->ResetClip( this, nTab );
i = nTab;
- nEndTab = nTab;
+ nEndTab = nTab + 1;
}
else
pClipDoc->ResetClip(this, pMarks);