From 281027ea88d4d683449d4ce2cdb0563223741465 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 31 Aug 2016 10:58:49 +0100 Subject: Resolves: tdf#98100 no valueset tooltips with extended tips... and no offline help available. I feel this was the original (day-0-checkin) intent of the code, otherwise why bother with the "| HelpEventMode::BALLOON" as that makes no difference to the existing logic. And this per-item help is what other similiar widgets do. Change-Id: Idda130450db322acefd9ecc13986067790f9a614 --- svtools/source/control/valueset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 37896850d325..32311ec085b2 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1492,7 +1492,7 @@ void ValueSet::Resize() void ValueSet::RequestHelp( const HelpEvent& rHelpEvent ) { - if ( (rHelpEvent.GetMode() & (HelpEventMode::QUICK | HelpEventMode::BALLOON)) == HelpEventMode::QUICK ) + if (rHelpEvent.GetMode() & (HelpEventMode::QUICK | HelpEventMode::BALLOON)) { Point aPos = ScreenToOutputPixel( rHelpEvent.GetMousePosPixel() ); size_t nItemPos = ImplGetItem( aPos ); -- cgit