summaryrefslogtreecommitdiff
path: root/svtools/source/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-27 14:25:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-29 07:07:13 +0000
commit27319418ed7601fa62993e39894bb8f8902a88d0 (patch)
treee3d7d8642a6896e3820be916fec1e306429eb3ea /svtools/source/table
parentfd586445a47d50ebfff67a7d5e4a329cf064cb92 (diff)
loplugin:countusersofdefaultparams in store..svtools
Change-Id: I15b4400bddc5a4d0e3de5dfffe18b7e493f97df6 Reviewed-on: https://gerrit.libreoffice.org/27580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/table')
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index f87c0f168413..08a4d2927354 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -664,7 +664,7 @@ namespace svt { namespace table
for the given row height. Partially fitting rows are counted, too, if the
respective parameter says so.
*/
- TableSize lcl_getRowsFittingInto( long _nOverallHeight, long _nRowHeightPixel, bool _bAcceptPartialRow = false )
+ TableSize lcl_getRowsFittingInto( long _nOverallHeight, long _nRowHeightPixel, bool _bAcceptPartialRow )
{
return _bAcceptPartialRow
? ( _nOverallHeight + ( _nRowHeightPixel - 1 ) ) / _nRowHeightPixel
@@ -1094,7 +1094,7 @@ namespace svt { namespace table
m_rAntiImpl,
m_pVScroll,
i_verticalScrollbar,
- lcl_getRowsFittingInto( i_dataCellPlayground.GetHeight(), m_nRowHeightPixel ),
+ lcl_getRowsFittingInto( i_dataCellPlayground.GetHeight(), m_nRowHeightPixel, false ),
// visible units
m_nTopRow, // current position
1, // line size