summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 09:17:18 +0200
committerNoel Grandin <noel@peralex.com>2016-05-10 09:17:55 +0200
commit02dac9f7c956f6073d810f4a0c80c733f40aea6d (patch)
tree46cd89916dd1f9313bb124f2a4bba85dee4818d4 /vcl
parenttdf#99207: Fix incorrect RGB ordering in Graphite DWrite path (diff)
downloadcore-02dac9f7c956f6073d810f4a0c80c733f40aea6d.tar.gz
core-02dac9f7c956f6073d810f4a0c80c733f40aea6d.zip
fix Windows build (second attempt)
Change-Id: I5aa3bcf16cbcda984a74ec85a49a354087f5044e
Diffstat (limited to 'vcl')
-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 75fd6d9626df..3d5711f11991 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;