[Libreoffice-commits] .: vcl/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Tue Jul 17 00:58:39 PDT 2012
vcl/source/window/decoview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 12bf58bee53e0244563c3dc3c0936b338f6d70d8
Author: Jan Holesovsky <kendy at suse.cz>
Date: Tue Jul 17 09:55:12 2012 +0200
Improve check for the FRAME_DRAW_NWF.
Change-Id: I03d9130ffcce7ec92fc768e8c4ee63e425e76c21
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 6fd0a01..4c71722 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -663,7 +663,7 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect,
bFlatBorders )
nStyle |= FRAME_DRAW_MONO;
- if( (nStyle & FRAME_DRAW_NWF)!=FRAME_DRAW_NWF &&
+ if( (nStyle & FRAME_DRAW_STYLE) != FRAME_DRAW_NWF &&
pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
{
ImplControlValue aControlValue( nStyle |
More information about the Libreoffice-commits
mailing list