vcl/win/window/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5949683a5da9efd11fa387007363a754f39833d9
Author: Noel Grandin <[email protected]>
Date:   Tue May 10 08:57:55 2016 +0200

    fix Windows build
    
    Change-Id: Ia00af427fda31867a19457b7ef30158b385639e6

diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index adced19..75fd6d9 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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to