summaryrefslogtreecommitdiff
path: root/vcl/source/control/notebookbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/notebookbar.cxx')
-rw-r--r--vcl/source/control/notebookbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx
index 370891802b9f..54931df82557 100644
--- a/vcl/source/control/notebookbar.cxx
+++ b/vcl/source/control/notebookbar.cxx
@@ -112,9 +112,9 @@ void NotebookBar::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, P
Size aSize(GetOptimalSize());
if (!bCanHandleSmallerWidth)
- nWidth = std::max<sal_Int32>(nWidth, aSize.Width());
+ nWidth = std::max(nWidth, aSize.Width());
if (!bCanHandleSmallerHeight)
- nHeight = std::max<sal_Int32>(nHeight, aSize.Height());
+ nHeight = std::max(nHeight, aSize.Height());
Control::setPosSizePixel(nX, nY, nWidth, nHeight, nFlags);