Kaydet (Commit) a77c2083 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused IconChoiceFlags::StartEditTimerInMouseUp

Change-Id: I157f455880095a0ee8a609028838b399eb26238a
Reviewed-on: https://gerrit.libreoffice.org/64320
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 9059457a
......@@ -54,13 +54,12 @@ enum class IconChoiceFlags {
SelectingRect = 0x0002,
DownCtrl = 0x0004,
DownDeselect = 0x0008,
StartEditTimerInMouseUp = 0x0010,
EntryListPosValid = 0x0020,
ClearingSelection = 0x0040,
Arranging = 0x0080
EntryListPosValid = 0x0010,
ClearingSelection = 0x0020,
Arranging = 0x0040
};
namespace o3tl {
template<> struct typed_flags<IconChoiceFlags> : is_typed_flags<IconChoiceFlags, 0x00ff> {};
template<> struct typed_flags<IconChoiceFlags> : is_typed_flags<IconChoiceFlags, 0x007f> {};
}
// unit = pixels
......
......@@ -815,11 +815,6 @@ bool SvxIconChoiceCtrl_Impl::MouseButtonUp( const MouseEvent& rMEvt )
}
nFlags &= ~IconChoiceFlags(IconChoiceFlags::DownCtrl | IconChoiceFlags::DownDeselect);
if( nFlags & IconChoiceFlags::StartEditTimerInMouseUp )
{
bHandled = true;
nFlags &= ~IconChoiceFlags::StartEditTimerInMouseUp;
}
if((nWinBits & WB_HIGHLIGHTFRAME) && bHighlightFramePressed && pCurHighlightFrame)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment