summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-19 22:27:42 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-19 22:30:14 +0900
commited88d1b4a23b9f97d09c15017f19a991eb3e707a (patch)
tree6783d190a230484ecbfbc9cc90954c3775bcd6e9
parentfd2c99e473fabf811a909be9b11b7dbe19f2814e (diff)
remove setup of painting for help windows (done in ApplySettings)
Change-Id: Idc243ec7083602c639ce5769b8e18a3bac2f773f
-rw-r--r--vcl/source/app/help.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 6bdb60e57d39..cc346f4e1fd7 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();