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

New commits:
commit b0602d2f179182de42bffb739252cc3f3705d18f
Author: Noel Power <noel.po...@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);
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to