summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
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)