summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 09:35:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-14 11:13:17 +0200
commit761a969465671a2047a5c1deafdb0df16f89463f (patch)
tree51be7431fbb9c6962ce8e288813e6997ab54eb22 /sc/source/core/data/table2.cxx
parent9456d6cd5fd473a01cbebeb19b6cd284cf37e166 (diff)
loplugin:returnconstant in ScColumn
Change-Id: I105d07da6e1a9259a7b833a1259c0e992e35a03d Reviewed-on: https://gerrit.libreoffice.org/58954 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r--sc/source/core/data/table2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index d2aa2a0a4d6e..749aa4fe28e6 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -676,7 +676,8 @@ bool ScTable::InitColumnBlockPosition( sc::ColumnBlockPosition& rBlockPos, SCCOL
if (!ValidCol(nCol))
return false;
- return aCol[nCol].InitBlockPosition(rBlockPos);
+ aCol[nCol].InitBlockPosition(rBlockPos);
+ return true;
}
void ScTable::CopyFromClip(