summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table/tablemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/table/tablemgr.cxx')
-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 );