summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-26 09:50:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 10:37:51 +0200
commit8bc951daf79decbd8a599a409c6d33c5456710e0 (patch)
tree61d220d83e90a176fbcbe667827eee4b9631a4ca /sw/source/uibase/table
parent10eefdfa6c0250c6069e641e404f34e5a91fe993 (diff)
long->sal_Int32 in tools/gen.hxx
which triggered a lot of changes in sw/ Change-Id: Ia2aa22ea3f76463a85ea077a411246fcfed00bf6 Reviewed-on: https://gerrit.libreoffice.org/48806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/tablemgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index 52b49a483e7d..7e3c94d3769e 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -151,7 +151,7 @@ void SwTableFUNC::SetColWidth(sal_uInt16 nNum, SwTwips nNewWidth )
aCols[ GetRightSeparator(nNum-1) ] -= nDiff;
}
else
- aCols.SetRight( std::min( nNewWidth, aCols.GetRightMax()) );
+ aCols.SetRight( std::min<sal_Int32>( nNewWidth, aCols.GetRightMax()) );
pSh->StartAllAction();
pSh->SetTabCols( aCols, bCurrentOnly );