From 5662854bc29acb45c1c449c05d1e92f96a4b335a Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 6 Jun 2012 15:17:43 +0200 Subject: calc input line: Fix crash on MacOSX. Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47 --- vcl/source/window/brdwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index 601a6147b742..9139f5cba360 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 -- cgit