summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/tblrwcl.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 07:49:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-30 08:57:07 +0100
commitf2be3d31cde821f5c1128deae7f2b95361ac1db9 (patch)
treeaac9582c61cf53e61da4b566c4d10b60af0475ad /sw/source/core/doc/tblrwcl.cxx
parent46ecd31445bda45e10d58e937ff468a1a8f17da2 (diff)
convert some tools::Long->sal_Int32
in places where it is obvious we only need a sal_Int32, because we are dealing with rows and columns, and not even calc needs more than 32 bits for that. Change-Id: I114417e639c224d45bfd9fc6838122ab195eefa3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104584 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/tblrwcl.cxx')
-rw-r--r--sw/source/core/doc/tblrwcl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 4ea0c5af6366..8a825c15076c 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -1648,7 +1648,7 @@ static void lcl_CheckRowSpan( SwTable &rTable )
SwTableLine* pLine = rTable.GetTabLines()[ nLineCount - nMaxSpan ];
for( auto pBox : pLine->GetTabBoxes() )
{
- tools::Long nRowSpan = pBox->getRowSpan();
+ sal_Int32 nRowSpan = pBox->getRowSpan();
if( nRowSpan > nMaxSpan )
pBox->setRowSpan( nMaxSpan );
else if( nRowSpan < nMinSpan )