summaryrefslogtreecommitdiff
path: root/vcl/source/window/menubarwindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-23 13:19:40 +0200
committerNoel Grandin <noel@peralex.com>2015-07-24 09:52:08 +0200
commit9e28cc8ca79b5c42955867a62e89faf8facc5e80 (patch)
treed882dd9776f44748debac32c65b80194387cffe5 /vcl/source/window/menubarwindow.cxx
parentdc7fc2074dd81f0960e6c112ead1cfe5bfd1bf4c (diff)
convert WindowAlign to scoped enum
Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52
Diffstat (limited to 'vcl/source/window/menubarwindow.cxx')
-rw-r--r--vcl/source/window/menubarwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index c6a0783bb2f3..718ffc000e02 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -562,7 +562,7 @@ static int ImplGetTopDockingAreaHeight( vcl::Window *pWindow )
if ( pChildWin->GetType() == WINDOW_DOCKINGAREA )
pDockingArea = static_cast< DockingAreaWindow* >( pChildWin );
- if( pDockingArea && pDockingArea->GetAlign() == WINDOWALIGN_TOP &&
+ if( pDockingArea && pDockingArea->GetAlign() == WindowAlign::Top &&
pDockingArea->IsVisible() && pDockingArea->GetOutputSizePixel().Height() != 0 )
{
return pDockingArea->GetOutputSizePixel().Height();