summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5928ee39a735..2adfb0aace50 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3124,7 +3124,7 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(
long nCtrlW = aTopLevelLabel.GetSizePixel().Width();
if ( nTxtW >= nCtrlW )
{
- long nDelta = Max( (long)10, nTxtW - nCtrlW );
+ long nDelta = std::max( (long)10, nTxtW - nCtrlW );
Size aNewSz = aTopLevelLabel.GetSizePixel();
aNewSz.Width() += nDelta;
aTopLevelLabel.SetSizePixel( aNewSz );