[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Tue May 19 06:30:53 PDT 2015


 vcl/source/app/help.cxx |   21 ---------------------
 1 file changed, 21 deletions(-)

New commits:
commit ed88d1b4a23b9f97d09c15017f19a991eb3e707a
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Tue May 19 22:27:42 2015 +0900

    remove setup of painting for help windows (done in ApplySettings)
    
    Change-Id: Idc243ec7083602c639ce5769b8e18a3bac2f773f

diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 6bdb60e..cc346f4 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -250,27 +250,6 @@ HelpTextWindow::HelpTextWindow( vcl::Window* pParent, const OUString& rText, sal
 //  EnableAlwaysOnTop();
     EnableSaveBackground();
 
-    // FIXME RenderContext
-    const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
-    SetPointFont(*this, rStyleSettings.GetHelpFont());
-    SetTextColor(rStyleSettings.GetHelpTextColor());
-    SetTextAlign(ALIGN_TOP);
-    if (IsNativeControlSupported(CTRL_TOOLTIP, PART_ENTIRE_CONTROL))
-    {
-        EnableChildTransparentMode(true);
-        SetParentClipMode(PARENTCLIPMODE_NOCLIP);
-        SetPaintTransparent(true);
-        SetBackground();
-    }
-    else
-        SetBackground(Wallpaper(rStyleSettings.GetHelpColor()));
-
-    if( rStyleSettings.GetHelpColor().IsDark() )
-        SetLineColor( COL_WHITE );
-    else
-        SetLineColor( COL_BLACK );
-    SetFillColor();
-
     if( mnStyle & QuickHelpFlags::BiDiRtl )
     {
         ComplexTextLayoutMode nLayoutMode = GetLayoutMode();


More information about the Libreoffice-commits mailing list