diff options
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r-- | cui/source/options/fontsubs.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index ef193e379065..ad6cac1d5a63 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -395,9 +395,9 @@ void SvxFontSubstCheckListBox::setColSizes() return; long nW1 = rBar.GetTextWidth(rBar.GetItemText(3)); long nW2 = rBar.GetTextWidth(rBar.GetItemText(4)); - long nMax = Max( nW1, nW2 ) + 6; // width of the longest header + a little offset + long nMax = std::max( nW1, nW2 ) + 6; // width of the longest header + a little offset long nMin = rBar.LogicToPixel(Size(10, 0), MAP_APPFONT).Width(); - nMax = Max( nMax, nMin ); + nMax = std::max( nMax, nMin ); const long nDoubleMax = 2*nMax; const long nRest = GetSizePixel().Width() - nDoubleMax; long aStaticTabs[] = { 4, 0, 0, 0, 0 }; |