diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-21 13:31:46 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-21 13:43:59 +0200 |
commit | 99af38464b7e0c2b7dcc797775d79fbbb57383db (patch) | |
tree | 3ad7555fb9fdf44d00f148f049d0ccc1751a5659 /vcl | |
parent | e17ba9b2dd6f34c2af9fea5a1696ab454bcd6562 (diff) |
Avoid a pointless GetHelpText() call in the toolbox, too
Fixes fdo#33315. GetHelpText() can be quite heavy, see fdo#33088. Also
here the return value is passed to ShowHelpStatusText() which doesn't
do anything at all.
Signed-off-by: Caolan McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 0fafed0dd061..46ee835ce4cc 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -521,13 +521,6 @@ void ToolBox::Highlight() { ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT ); maHighlightHdl.Call( this ); - - XubString aStr = GetHelpText( mnCurItemId ); - if ( aStr.Len() || mbHideStatusText ) - { - GetpApp()->ShowHelpStatusText( aStr ); - mbHideStatusText = TRUE; - } } // ----------------------------------------------------------------------- |