[Libreoffice-commits] .: vcl/source

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Jun 6 06:18:52 PDT 2012


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

New commits:
commit 5662854bc29acb45c1c449c05d1e92f96a4b335a
Author: Jan Holesovsky <kendy at 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


More information about the Libreoffice-commits mailing list