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

New commits:
commit 5662854bc29acb45c1c449c05d1e92f96a4b335a
Author: Jan Holesovsky <ke...@suse.cz>
Date:   Wed Jun 6 15:17:43 2012 +0200

    calc input line: Fix crash on MacOSX.
    
    Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47

diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index 601a614..9139f5c 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -1098,7 +1098,7 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, 
long nWidth, long nHei
     {
         // FIXME: this is currently only on aqua, check with other
         // platforms
-        if( ImplGetSVData()->maNWFData.mbNoFocusRects )
+        if( ImplGetSVData()->maNWFData.mbNoFocusRects && !( nBorderStyle & 
WINDOW_BORDER_NWF ) )
         {
             // for native widget drawing we must find out what
             // control this border belongs to
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to