summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 08:57:55 +0200
committerNoel Grandin <noel@peralex.com>2016-05-10 08:57:55 +0200
commit5949683a5da9efd11fa387007363a754f39833d9 (patch)
tree05901b530ef2dfc30c59bedbab00eb31a4431873 /vcl/win
parentb0ea829f686b0cb690e2c2828389263f36ee7c5d (diff)
fix Windows build
Change-Id: Ia00af427fda31867a19457b7ef30158b385639e6
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/window/salframe.cxx2
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;