summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/cnttab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/index/cnttab.cxx')
-rw-r--r--sw/source/ui/index/cnttab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index c18a49ec2a82..eb863bdfb4c1 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3977,7 +3977,7 @@ Size SwEntryBrowseBox::GetOptimalSize() const
long nWidth(std::accumulate(aWidths.begin(), aWidths.end(), 0));
- aSize.setWidth( std::max<sal_Int32>(aSize.Width(), nWidth) );
+ aSize.setWidth( std::max(aSize.Width(), nWidth) );
return aSize;
}