[Libreoffice-commits] .: vcl/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Fri Jul 6 23:48:46 PDT 2012


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

New commits:
commit 9508f653ddced5b1dc7d74d050d7c36d563978c9
Author: Ruslan Kabatsayev <b7.10110111 at gmail.com>
Date:   Sat Jul 7 03:20:46 2012 +0400

    Fix check for FRAME_DRAW_NWF, and thus reenable CTRL_FRAME support
    
    Change-Id: I065c8f21c72a1992282dbd90dc7ff7850a301261

diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index c91a1d0..6fd0a01 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) &&
+    if( (nStyle & FRAME_DRAW_NWF)!=FRAME_DRAW_NWF &&
         pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
     {
         ImplControlValue aControlValue( nStyle |


More information about the Libreoffice-commits mailing list