summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-02 11:26:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-02 12:37:25 +0200
commitc2d73de5b5e22e20bc77ee0a27d1c381119c4c79 (patch)
tree5a35d32af492ff057c8be42ea5afd4f8abc8d853 /svx
parent558dface96fbc5f487b16cfa1bf3c3ea20776331 (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 'svx')
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index 10e5e980a74f..0e1a6a87389a 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -1923,12 +1923,12 @@ namespace
}
// Object data and state
-OUString FmGridControl::GetAccessibleObjectName( ::vcl::AccessibleBrowseBoxObjType _eObjType,sal_Int32 _nPosition ) const
+OUString FmGridControl::GetAccessibleObjectName( AccessibleBrowseBoxObjType _eObjType,sal_Int32 _nPosition ) const
{
OUString sRetText;
switch( _eObjType )
{
- case ::vcl::BBTYPE_BROWSEBOX:
+ case AccessibleBrowseBoxObjType::BrowseBox:
if ( GetPeer() )
{
Reference<XPropertySet> xProp(GetPeer()->getColumns(),UNO_QUERY);
@@ -1936,7 +1936,7 @@ OUString FmGridControl::GetAccessibleObjectName( ::vcl::AccessibleBrowseBoxObjTy
xProp->getPropertyValue(FM_PROP_NAME) >>= sRetText;
}
break;
- case ::vcl::BBTYPE_COLUMNHEADERCELL:
+ case AccessibleBrowseBoxObjType::ColumnHeaderCell:
sRetText = getColumnPropertyFromPeer(
GetPeer(),
GetModelColumnPos(
@@ -1949,12 +1949,12 @@ OUString FmGridControl::GetAccessibleObjectName( ::vcl::AccessibleBrowseBoxObjTy
return sRetText;
}
-OUString FmGridControl::GetAccessibleObjectDescription( ::vcl::AccessibleBrowseBoxObjType _eObjType,sal_Int32 _nPosition ) const
+OUString FmGridControl::GetAccessibleObjectDescription( AccessibleBrowseBoxObjType _eObjType,sal_Int32 _nPosition ) const
{
OUString sRetText;
switch( _eObjType )
{
- case ::vcl::BBTYPE_BROWSEBOX:
+ case AccessibleBrowseBoxObjType::BrowseBox:
if ( GetPeer() )
{
Reference<XPropertySet> xProp(GetPeer()->getColumns(),UNO_QUERY);
@@ -1966,7 +1966,7 @@ OUString FmGridControl::GetAccessibleObjectDescription( ::vcl::AccessibleBrowseB
}
}
break;
- case ::vcl::BBTYPE_COLUMNHEADERCELL:
+ case AccessibleBrowseBoxObjType::ColumnHeaderCell:
sRetText = getColumnPropertyFromPeer(
GetPeer(),
GetModelColumnPos(