[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Mon May 30 19:39:32 UTC 2016


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

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

    we already have pClipDoc
    
    Change-Id: I0485f15b6771d10d4b077f5034db77e4c13ef877

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