[Libreoffice-commits] .: vcl/source

Noel Power noelp at kemper.freedesktop.org
Tue Jul 31 06:43:32 PDT 2012


 vcl/source/window/toolbox.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 4f97b3bcad3c2b138ec5d752f28c8032f34150b5
Author: Ruslan Kabatsayev <b7.10110111 at gmail.com>
Date:   Tue Jul 31 17:07:37 2012 +0400

    Revert "Enable native background rendering for ToolBox"
    
    This reverts commit 0714d191e7273c3b32837834f9a37867b81cb78a.

diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index b89d311..7608e5f 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -542,12 +542,6 @@ void ToolBox::ImplDrawBackground( ToolBox* pThis, const Rectangle &rRect )
     // execute pending paint requests
     ImplCheckUpdate( pThis );
 
-    if ( pThis->IsNativeControlSupported(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL) &&
-        pThis->DrawNativeControl(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL,rRect,
-            CTRL_STATE_ENABLED,ImplControlValue(0),rtl::OUString())
-        )
-        return;
-
     ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( pThis );
     sal_Bool bIsInPopupMode = pThis->ImplIsInPopupMode();
 


More information about the Libreoffice-commits mailing list