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
|
enum SvtGraphicFill::FillType fillSolid
|
||||||
include/vcl/help.hxx:42
|
include/vcl/help.hxx:42
|
||||||
enum QuickHelpFlags NoAutoPos
|
enum QuickHelpFlags NoAutoPos
|
||||||
include/vcl/help.hxx:45
|
|
||||||
enum QuickHelpFlags NoDelay
|
|
||||||
include/vcl/keycod.hxx:32
|
include/vcl/keycod.hxx:32
|
||||||
enum KeyFuncType REDO
|
enum KeyFuncType REDO
|
||||||
include/vcl/keycod.hxx:32
|
include/vcl/keycod.hxx:32
|
||||||
|
@@ -41,8 +41,6 @@ enum class QuickHelpFlags
|
|||||||
Bottom = 0x0020,
|
Bottom = 0x0020,
|
||||||
NoAutoPos = Left | Center | Right | Top | VCenter | Bottom,
|
NoAutoPos = Left | Center | Right | Top | VCenter | Bottom,
|
||||||
CtrlText = 0x0040,
|
CtrlText = 0x0040,
|
||||||
/// no delay when opening the quick help. Applies to ShowBalloon and ShowQuickHelp
|
|
||||||
NoDelay = 0x0080,
|
|
||||||
/// force balloon-style in ShowPopover and ShowQuickHelp
|
/// force balloon-style in ShowPopover and ShowQuickHelp
|
||||||
TipStyleBalloon = 0x0100,
|
TipStyleBalloon = 0x0100,
|
||||||
NoEvadePointer = 0x0200,
|
NoEvadePointer = 0x0200,
|
||||||
@@ -50,7 +48,7 @@ enum class QuickHelpFlags
|
|||||||
};
|
};
|
||||||
namespace o3tl
|
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"
|
#define OOO_HELP_INDEX ".help:index"
|
||||||
|
@@ -544,9 +544,7 @@ void ImplShowHelpWindow( vcl::Window* pParent, sal_uInt16 nHelpWinStyle, QuickHe
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
sal_uInt64 nCurTime = tools::Time::GetSystemTicks();
|
sal_uInt64 nCurTime = tools::Time::GetSystemTicks();
|
||||||
if ( ( ( nCurTime - pSVData->maHelpData.mnLastHelpHideTime ) < HelpSettings::GetTipDelay() )
|
if ( ( nCurTime - pSVData->maHelpData.mnLastHelpHideTime ) < HelpSettings::GetTipDelay() )
|
||||||
|| ( nStyle & QuickHelpFlags::NoDelay )
|
|
||||||
)
|
|
||||||
nDelayMode = HELPDELAY_NONE;
|
nDelayMode = HELPDELAY_NONE;
|
||||||
|
|
||||||
pHelpWin = VclPtr<HelpTextWindow>::Create( pParent, rHelpText, nHelpWinStyle, nStyle );
|
pHelpWin = VclPtr<HelpTextWindow>::Create( pParent, rHelpText, nHelpWinStyle, nStyle );
|
||||||
|
Reference in New Issue
Block a user