diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-10 08:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-10 08:57:55 +0200 |
commit | 5949683a5da9efd11fa387007363a754f39833d9 (patch) | |
tree | 05901b530ef2dfc30c59bedbab00eb31a4431873 /vcl | |
parent | b0ea829f686b0cb690e2c2828389263f36ee7c5d (diff) |
fix Windows build
Change-Id: Ia00af427fda31867a19457b7ef30158b385639e6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/window/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index adced19f90ef..75fd6d9626df 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -183,7 +183,7 @@ static void ImplSaveFrameState( WinSalFrame* pFrame ) long nBottomDeco = abs( aRect.bottom - aRect2.bottom ); long nRightDeco = abs( aRect.right - aRect2.right ); - pFrame->maState.mnState &= ~(WindowStateState::Minimized | WindowStateState::Maximized); + pFrame->maState.mnState &= WindowStateState(~(WindowStateState::Minimized | WindowStateState::Maximized)); // subtract decoration pFrame->maState.mnX = aRect.left+nLeftDeco; pFrame->maState.mnY = aRect.top+nTopDeco; |