remove unused QuickHelpFlags enum value
Change-Id: Ia40e882af0df396895a19dd34caa60461cdf6c12 Reviewed-on: https://gerrit.libreoffice.org/64059 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -900,8 +900,6 @@ include/vcl/graphictools.hxx:229
|
||||
enum SvtGraphicFill::FillType fillSolid
|
||||
include/vcl/help.hxx:42
|
||||
enum QuickHelpFlags NoAutoPos
|
||||
include/vcl/help.hxx:45
|
||||
enum QuickHelpFlags NoDelay
|
||||
include/vcl/keycod.hxx:32
|
||||
enum KeyFuncType REDO
|
||||
include/vcl/keycod.hxx:32
|
||||
|
@@ -41,8 +41,6 @@ enum class QuickHelpFlags
|
||||
Bottom = 0x0020,
|
||||
NoAutoPos = Left | Center | Right | Top | VCenter | Bottom,
|
||||
CtrlText = 0x0040,
|
||||
/// no delay when opening the quick help. Applies to ShowBalloon and ShowQuickHelp
|
||||
NoDelay = 0x0080,
|
||||
/// force balloon-style in ShowPopover and ShowQuickHelp
|
||||
TipStyleBalloon = 0x0100,
|
||||
NoEvadePointer = 0x0200,
|
||||
@@ -50,7 +48,7 @@ enum class QuickHelpFlags
|
||||
};
|
||||
namespace o3tl
|
||||
{
|
||||
template<> struct typed_flags<QuickHelpFlags> : is_typed_flags<QuickHelpFlags, 0x7ff> {};
|
||||
template<> struct typed_flags<QuickHelpFlags> : is_typed_flags<QuickHelpFlags, 0x77f> {};
|
||||
}
|
||||
|
||||
#define OOO_HELP_INDEX ".help:index"
|
||||
|
@@ -544,9 +544,7 @@ void ImplShowHelpWindow( vcl::Window* pParent, sal_uInt16 nHelpWinStyle, QuickHe
|
||||
return;
|
||||
|
||||
sal_uInt64 nCurTime = tools::Time::GetSystemTicks();
|
||||
if ( ( ( nCurTime - pSVData->maHelpData.mnLastHelpHideTime ) < HelpSettings::GetTipDelay() )
|
||||
|| ( nStyle & QuickHelpFlags::NoDelay )
|
||||
)
|
||||
if ( ( nCurTime - pSVData->maHelpData.mnLastHelpHideTime ) < HelpSettings::GetTipDelay() )
|
||||
nDelayMode = HELPDELAY_NONE;
|
||||
|
||||
pHelpWin = VclPtr<HelpTextWindow>::Create( pParent, rHelpText, nHelpWinStyle, nStyle );
|
||||
|
Reference in New Issue
Block a user