diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-02 11:26:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-02 12:37:25 +0200 |
commit | c2d73de5b5e22e20bc77ee0a27d1c381119c4c79 (patch) | |
tree | 5a35d32af492ff057c8be42ea5afd4f8abc8d853 /accessibility/source/extended/AccessibleBrowseBox.cxx | |
parent | 558dface96fbc5f487b16cfa1bf3c3ea20776331 (diff) |
convert AccessibleBrowseBoxObjType to scoped enum
Change-Id: Iaf764c905d080e4decabd853bd3847b34cb79cdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118279
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBox.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBox.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx index 5500397b70c6..4a5b27f5249f 100644 --- a/accessibility/source/extended/AccessibleBrowseBox.cxx +++ b/accessibility/source/extended/AccessibleBrowseBox.cxx @@ -40,7 +40,7 @@ using namespace ::com::sun::star::accessibility; AccessibleBrowseBox::AccessibleBrowseBox( const css::uno::Reference< css::accessibility::XAccessible >& _rxParent, const css::uno::Reference< css::accessibility::XAccessible >& _rxCreator, ::vcl::IAccessibleTableProvider& _rBrowseBox ) - : AccessibleBrowseBoxBase( _rxParent, _rBrowseBox,nullptr, vcl::BBTYPE_BROWSEBOX ), + : AccessibleBrowseBoxBase( _rxParent, _rBrowseBox,nullptr, AccessibleBrowseBoxObjType::BrowseBox ), m_aCreator(_rxCreator) { m_xFocusWindow = VCLUnoHelper::GetInterface(mpBrowseBox->GetWindowInstance()); @@ -198,14 +198,14 @@ css::uno::Reference< css::accessibility::XAccessible > AccessibleBrowseBox::impl } css::uno::Reference< css::accessibility::XAccessible > -AccessibleBrowseBox::implGetHeaderBar(vcl::AccessibleBrowseBoxObjType eObjType) +AccessibleBrowseBox::implGetHeaderBar(AccessibleBrowseBoxObjType eObjType) { css::uno::Reference< css::accessibility::XAccessible > xRet; rtl::Reference< AccessibleBrowseBoxHeaderBar >* pxMember = nullptr; - if( eObjType == vcl::BBTYPE_ROWHEADERBAR ) + if( eObjType == AccessibleBrowseBoxObjType::RowHeaderBar ) pxMember = &mxRowHeaderBar; - else if( eObjType == vcl::BBTYPE_COLUMNHEADERBAR ) + else if( eObjType == AccessibleBrowseBoxObjType::ColumnHeaderBar ) pxMember = &mxColumnHeaderBar; if( pxMember ) @@ -228,10 +228,10 @@ AccessibleBrowseBox::implGetFixedChild( sal_Int32 nChildIndex ) switch( nChildIndex ) { case vcl::BBINDEX_COLUMNHEADERBAR: - xRet = implGetHeaderBar( vcl::BBTYPE_COLUMNHEADERBAR ); + xRet = implGetHeaderBar( AccessibleBrowseBoxObjType::ColumnHeaderBar ); break; case vcl::BBINDEX_ROWHEADERBAR: - xRet = implGetHeaderBar( vcl::BBTYPE_ROWHEADERBAR ); + xRet = implGetHeaderBar( AccessibleBrowseBoxObjType::RowHeaderBar ); break; case vcl::BBINDEX_TABLE: xRet = implGetTable(); |