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

Caolán McNamara caolanm at redhat.com
Wed Aug 31 10:03:11 UTC 2016


 svtools/source/control/valueset.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 281027ea88d4d683449d4ce2cdb0563223741465
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 31 10:58:49 2016 +0100

    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

diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 3789685..32311ec 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 );


More information about the Libreoffice-commits mailing list