[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source

Eike Rathke erack at redhat.com
Mon May 30 19:46:16 UTC 2016


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

New commits:
commit e19be2e175e146152a08982e411b01ba8f0c2bb1
Author: Eike Rathke <erack at redhat.com>
Date:   Mon May 30 21:35:07 2016 +0200

    we already have pClipDoc
    
    Change-Id: I0485f15b6771d10d4b077f5034db77e4c13ef877
    (cherry picked from commit f65b29ff13211449144455668014a80aa8b331a3)
    Reviewed-on: https://gerrit.libreoffice.org/25687
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx
index 6363265..0530566 100644
--- a/sc/source/core/data/document10.cxx
+++ b/sc/source/core/data/document10.cxx
@@ -82,7 +82,7 @@ bool ScDocument::CopyOneCellFromClip(
     if (nDestColSize < nSrcColSize)
         return false;
 
-    if (rCxt.getClipDoc()->maTabs.size() > 1)
+    if (pClipDoc->maTabs.size() > 1)
         // Copying from multiple source sheets is not handled here.
         return false;
 


More information about the Libreoffice-commits mailing list