summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;