[Libreoffice-commits] .: Branch 'libreoffice-3-6' - vcl/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Wed Jun 6 06:19:33 PDT 2012
vcl/source/window/brdwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit add88d69738f61eb28935d50229781f9bf514b43
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