summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-24 14:41:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-24 16:29:12 +0200
commit47d53d6929d449b0b53dc73eddf29fe9c18fb49e (patch)
treec7eb26ad14a720bf6dc75fde05e5c6dfdd7cc773 /sc
parent68f182066a8e2efa6d70abb1f568775fc48c608a (diff)
this should be a ref
mistake in commit commit f6063153db8951ca21ac3a2e36973f1d73eda4d1 tdf#117706 Multi-select copying rows between sheets broken noticed by erack Change-Id: Ia5ed3726c8f02750eec3551f7dd908120edb2553 Reviewed-on: https://gerrit.libreoffice.org/54765 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 9335bb31957e..ad3c6252965c 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -3133,7 +3133,7 @@ void ScDocument::GetClipArea(SCCOL& nClipX, SCROW& nClipY, bool bIncludeFiltered
SCROW nEndRow = rRange.aEnd.Row();
for ( size_t i = 1, n = rClipRanges.size(); i < n; ++i )
{
- ScRange const rRange2 = rClipRanges[ i ];
+ ScRange const & rRange2 = rClipRanges[ i ];
if (rRange2.aStart.Col() < nStartCol)
nStartCol = rRange2.aStart.Col();
if (rRange2.aStart.Row() < nStartRow)