[Libreoffice-commits] core.git: vcl/win
Noel Grandin
noel at peralex.com
Tue May 10 07:18:24 UTC 2016
vcl/win/window/salframe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 02dac9f7c956f6073d810f4a0c80c733f40aea6d
Author: Noel Grandin <noel at peralex.com>
Date: Tue May 10 09:17:18 2016 +0200
fix Windows build (second attempt)
Change-Id: I5aa3bcf16cbcda984a74ec85a49a354087f5044e
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 75fd6d9..3d5711f 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(~(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;
More information about the Libreoffice-commits
mailing list