diff options
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 ) |