vcl/osx/salnativewidgets.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c9d6c6e28adfd372791e2195ff4d830bad6b012
Author: Noel Grandin <n...@peralex.com>
Date:   Wed May 13 09:29:09 2015 +0200

    fix OSX build (take 3)
    
    after my commit 7ac403aa7cb2bd531245280d88bdc9fe6553c711
    "convert FRAME_DRAW constants to scoped enum"
    
    Change-Id: If30425e329b13f971723d007086638abdb06865f

diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index fc033f5..5aa6f8d 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -1325,7 +1325,7 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType 
nType, ControlPart nPa
                     !( nFlags & (DrawFrameFlags::Menu | 
DrawFrameFlags::WindowBorder | DrawFrameFlags::BorderWindowBorder) ) )
                 {
                     Rectangle aRect(aCtrlBoundRect);
-                    if( nStyle & DrawFrameStyle::DoubleIn )
+                    if( nStyle == DrawFrameStyle::DoubleIn )
                     {
                         aRect.Left()    += 1;
                         aRect.Top()     += 1;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to