summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatablehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbatablehelper.cxx')
-rw-r--r--sw/source/ui/vba/vbatablehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbatablehelper.cxx b/sw/source/ui/vba/vbatablehelper.cxx
index 59aaf3707c93..04baf9f5c4df 100644
--- a/sw/source/ui/vba/vbatablehelper.cxx
+++ b/sw/source/ui/vba/vbatablehelper.cxx
@@ -263,7 +263,7 @@ void SwVbaTableHelper::SetColWidth( sal_Int32 _width, sal_Int32 nCol, sal_Int32
aCols[ static_cast< sal_uInt16 >(GetRightSeparator( aCols, nCol-1)) ] -= nDiff;
}
else
- aCols.SetRight( Min( (long)nNewWidth, aCols.GetRightMax()) );
+ aCols.SetRight( std::min( (long)nNewWidth, aCols.GetRightMax()) );
pTable->SetTabCols(aCols, aOldCols, pStart, bCurRowOnly );
}