summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/helper/IComboListBoxHelper.hxx2
-rw-r--r--accessibility/inc/helper/listboxhelper.hxx4
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/inc/helper/IComboListBoxHelper.hxx b/accessibility/inc/helper/IComboListBoxHelper.hxx
index 8c60bc5b8070..75bd598a85ba 100644
--- a/accessibility/inc/helper/IComboListBoxHelper.hxx
+++ b/accessibility/inc/helper/IComboListBoxHelper.hxx
@@ -55,7 +55,7 @@ namespace accessibility
virtual void SelectEntryPos( sal_Int32 nPos, bool bSelect = true ) = 0;
virtual sal_Int32 GetSelectEntryCount() const = 0;
virtual void SetNoSelection() = 0;
- virtual sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex ) const = 0;
+ virtual sal_Int32 GetSelectedEntryPos( sal_Int32 nSelIndex ) const = 0;
virtual bool IsInDropDown() const = 0;
virtual tools::Rectangle GetEntryCharacterBounds( const sal_Int32 _nEntryPos, const sal_Int32 _nCharacterIndex ) const = 0;
virtual long GetIndexForPoint( const Point& rPoint, sal_Int32 & nPos ) const = 0;
diff --git a/accessibility/inc/helper/listboxhelper.hxx b/accessibility/inc/helper/listboxhelper.hxx
index 8bc7e2dae2ef..0ef5d9f57509 100644
--- a/accessibility/inc/helper/listboxhelper.hxx
+++ b/accessibility/inc/helper/listboxhelper.hxx
@@ -147,9 +147,9 @@ public:
m_aComboListBox.SetNoSelection();
}
- virtual sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex = 0 ) const override
+ virtual sal_Int32 GetSelectedEntryPos( sal_Int32 nSelIndex = 0 ) const override
{
- return m_aComboListBox.GetSelectEntryPos(nSelIndex);
+ return m_aComboListBox.GetSelectedEntryPos(nSelIndex);
}
virtual bool IsInDropDown() const override
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index f5cb1602f0f3..cd3021437a5d 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -90,7 +90,7 @@ VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType
UpdateVisibleLineCount();
if(m_pListBoxHelper)
{
- m_nCurSelectedPos=m_pListBoxHelper->GetSelectEntryPos(0);
+ m_nCurSelectedPos=m_pListBoxHelper->GetSelectedEntryPos(0);
}
sal_uInt16 nCount = static_cast<sal_uInt16>(getAccessibleChildCount());
m_aAccessibleChildren.reserve(nCount);
@@ -330,7 +330,7 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
{
uno::Any aOldValue,
aNewValue;
- sal_Int32 nPos = m_nCurSelectedPos; //m_pListBoxHelper->GetSelectEntryPos();
+ sal_Int32 nPos = m_nCurSelectedPos; //m_pListBoxHelper->GetSelectedEntryPos();
if ( nPos == LISTBOX_ENTRY_NOTFOUND )
nPos = m_pListBoxHelper->GetTopEntry();
@@ -831,7 +831,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getSelectedAccessibleChild
if ( m_pListBoxHelper )
{
checkSelection_Impl(nSelectedChildIndex,*m_pListBoxHelper,true);
- return getAccessibleChild( m_pListBoxHelper->GetSelectEntryPos( (sal_uInt16)nSelectedChildIndex ) );
+ return getAccessibleChild( m_pListBoxHelper->GetSelectedEntryPos( (sal_uInt16)nSelectedChildIndex ) );
}
return nullptr;