diff options
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 01b29e4dc197..ce04c182fd77 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -354,7 +354,7 @@ void BackingWindow::ApplyStyleSettings() { MenuBar* pMenuBar = pSystemWindow->GetMenuBar(); if (pMenuBar) - nMenuHeight = pMenuBar->ImplGetWindow()->GetOutputSizePixel().Height(); + nMenuHeight = pMenuBar->GetMenuBarHeight(); } // fdo#34392: we do the layout dynamically, the layout depends on the font, |