[Libreoffice-commits] .: sc/source

Noel Power noelp at kemper.freedesktop.org
Tue Feb 7 03:49:41 PST 2012


 sc/source/core/data/document.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b0602d2f179182de42bffb739252cc3f3705d18f
Author: Noel Power <noel.power at novell.com>
Date:   Tue Feb 7 11:47:13 2012 +0000

    fix problem with vba Range.Copy ( for multirange ) bnc#707486

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 22ec123..13ccc62 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);


More information about the Libreoffice-commits mailing list