Kaydet (Commit) 1ee42f42 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Noel Grandin

drop unused SvTreeListBoxFlags::IS_EXPANDING

Change-Id: I60ecf3b157cad3ebc58b6349690eccc0fedbd26a
Reviewed-on: https://gerrit.libreoffice.org/63482
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst bc140731
...@@ -2726,8 +2726,6 @@ include/svtools/treelistbox.hxx:191 ...@@ -2726,8 +2726,6 @@ include/svtools/treelistbox.hxx:191
enum SvTreeListBoxFlags IN_EDT enum SvTreeListBoxFlags IN_EDT
include/svtools/treelistbox.hxx:192 include/svtools/treelistbox.hxx:192
enum SvTreeListBoxFlags EDT_ENABLED enum SvTreeListBoxFlags EDT_ENABLED
include/svtools/treelistbox.hxx:193
enum SvTreeListBoxFlags IS_EXPANDING
include/svtools/treelistbox.hxx:194 include/svtools/treelistbox.hxx:194
enum SvTreeListBoxFlags IS_TRAVELSELECT enum SvTreeListBoxFlags IS_TRAVELSELECT
include/svtools/treelistbox.hxx:195 include/svtools/treelistbox.hxx:195
......
...@@ -180,14 +180,13 @@ enum class SvTreeListBoxFlags ...@@ -180,14 +180,13 @@ enum class SvTreeListBoxFlags
NONE = 0x0000, NONE = 0x0000,
IN_EDT = 0x0001, IN_EDT = 0x0001,
EDT_ENABLED = 0x0002, EDT_ENABLED = 0x0002,
IS_EXPANDING = 0x0004, IS_TRAVELSELECT = 0x0004,
IS_TRAVELSELECT = 0x0008, TARGEMPH_VIS = 0x0008,
TARGEMPH_VIS = 0x0010, EDTEND_CALLED = 0x0010,
EDTEND_CALLED = 0x0020,
}; };
namespace o3tl namespace o3tl
{ {
template<> struct typed_flags<SvTreeListBoxFlags> : is_typed_flags<SvTreeListBoxFlags, 0x003f> {}; template<> struct typed_flags<SvTreeListBoxFlags> : is_typed_flags<SvTreeListBoxFlags, 0x001f> {};
} }
struct SvTreeListBoxImpl; struct SvTreeListBoxImpl;
......
...@@ -2143,7 +2143,6 @@ bool SvTreeListBox::Expand( SvTreeListEntry* pParent ) ...@@ -2143,7 +2143,6 @@ bool SvTreeListBox::Expand( SvTreeListEntry* pParent )
RequestingChildren( pParent ); RequestingChildren( pParent );
if( pParent->HasChildren() ) if( pParent->HasChildren() )
{ {
nImpFlags |= SvTreeListBoxFlags::IS_EXPANDING;
if( ExpandingHdl() ) if( ExpandingHdl() )
{ {
bExpanded = true; bExpanded = true;
...@@ -2177,7 +2176,6 @@ bool SvTreeListBox::Expand( SvTreeListEntry* pParent ) ...@@ -2177,7 +2176,6 @@ bool SvTreeListBox::Expand( SvTreeListEntry* pParent )
bool SvTreeListBox::Collapse( SvTreeListEntry* pParent ) bool SvTreeListBox::Collapse( SvTreeListEntry* pParent )
{ {
nImpFlags &= ~SvTreeListBoxFlags::IS_EXPANDING;
pHdlEntry = pParent; pHdlEntry = pParent;
bool bCollapsed = false; bool bCollapsed = false;
......
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