summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-30 21:35:07 +0200
committerEike Rathke <erack@redhat.com>2016-05-30 21:36:01 +0200
commitf65b29ff13211449144455668014a80aa8b331a3 (patch)
tree90d8047352c512d495d50e2053a46ef4e1e03dea
parent9d07f557572bdeaeda8e923525c8895d79fc0d22 (diff)
we already have pClipDoc
Change-Id: I0485f15b6771d10d4b077f5034db77e4c13ef877
-rw-r--r--sc/source/core/data/document10.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx
index 63632655d2fc..0530566d3b4c 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;