diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 10:13:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 14:22:24 +0200 |
commit | 5a5940858e1f860101c5cb74921e44f2917b37c8 (patch) | |
tree | 829bce0b22baa600fe388c7e7b44147ad8c96fc9 /accessibility/source/extended | |
parent | 923fd24972e9d3dac4fa5ed863e42bb28cf6605a (diff) |
drop unused LIST from SvTreeAccRoleType enum
Change-Id: I378dea43b0c08675419a5399e5999c34441497fe
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r-- | accessibility/source/extended/accessiblelistbox.cxx | 4 | ||||
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx index 6933f1087465..dd96005ee3dd 100644 --- a/accessibility/source/extended/accessiblelistbox.cxx +++ b/accessibility/source/extended/accessiblelistbox.cxx @@ -418,9 +418,7 @@ namespace accessibility { SvTreeAccRoleType nType = getListBox()->GetAllEntriesAccessibleRoleType(); if( nType == SvTreeAccRoleType::TREE) - return AccessibleRole::TREE; - else if( nType == SvTreeAccRoleType::LIST) - return AccessibleRole::LIST; + return AccessibleRole::TREE; } //o is: return AccessibleRole::TREE; diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 3641f9dd516a..3b2971063d92 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -403,9 +403,7 @@ namespace accessibility { SvTreeAccRoleType nType = pBox->GetAllEntriesAccessibleRoleType(); if( nType == SvTreeAccRoleType::TREE) - return AccessibleRole::TREE_ITEM; - else if( nType == SvTreeAccRoleType::LIST) - return AccessibleRole::LIST_ITEM; + return AccessibleRole::TREE_ITEM; SvTreeFlags treeFlag = pBox->GetTreeFlags(); if(treeFlag & SvTreeFlags::CHKBTN ) |