From b0602d2f179182de42bffb739252cc3f3705d18f Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 7 Feb 2012 11:47:13 +0000 Subject: fix problem with vba Range.Copy ( for multirange ) bnc#707486 --- sc/source/core/data/document.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3