From 40c487469b0dcd367ca76a2407f5ef08287dbabb Mon Sep 17 00:00:00 2001 From: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon, 26 Nov 2018 09:50:41 +0200 Subject: remove unused HelpEventMode enum value Change-Id: I0fffa7b02ac61ef009e566d04b903cc02e9b4b3d Reviewed-on: https://gerrit.libreoffice.org/64062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> --- svtools/source/control/tabbar.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index ac7ff9e66955..884323216aaf 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -1391,18 +1391,6 @@ void TabBar::RequestHelp(const HelpEvent& rHEvt) return; } } - else if (rHEvt.GetMode() & HelpEventMode::EXTENDED) - { - OUString aHelpId(OStringToOUString(GetHelpId(nItemId), RTL_TEXTENCODING_UTF8)); - if ( !aHelpId.isEmpty() ) - { - // trigger Help if available - Help* pHelp = Application::GetHelp(); - if (pHelp) - pHelp->Start(aHelpId, this); - return; - } - } // show text for quick- or balloon-help // if this is isolated or not fully visible -- cgit