[Libreoffice-commits] core.git: vcl/win

Noel Grandin noel at peralex.com
Tue May 10 06:58:30 UTC 2016


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

New commits:
commit 5949683a5da9efd11fa387007363a754f39833d9
Author: Noel Grandin <noel at peralex.com>
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;


More information about the Libreoffice-commits mailing list