summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/brdwin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index 52b0b139dc12..d46ad02ffdee 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -1934,9 +1934,7 @@ void ImplBorderWindow::Resize()
mpMenuBarWindow->setPosSizePixel( nLeftBorder,
nTopBorder,
aSize.Width()-nLeftBorder-nRightBorder,
- nMenuHeight,
- PosSizeFlags::Pos |
- PosSizeFlags::Width | PosSizeFlags::Height );
+ nMenuHeight);
}
GetBorder( pClientWindow->mpWindowImpl->mnLeftBorder, pClientWindow->mpWindowImpl->mnTopBorder,