summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility/accessiblestatesethelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/accessibility/accessiblestatesethelper.cxx')
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index 7c0e100fc49c..1608b9743da5 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -241,22 +241,18 @@ void AccessibleStateSetHelper::RemoveState(sal_Int16 aState)
//===== XTypeProvider =======================================================
-uno::Sequence< ::com::sun::star::uno::Type>
- AccessibleStateSetHelper::getTypes()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+uno::Sequence< css::uno::Type> AccessibleStateSetHelper::getTypes()
+ throw (css::uno::RuntimeException, std::exception)
{
- const ::com::sun::star::uno::Type aTypeList[] = {
+ css::uno::Sequence< css::uno::Type> aTypeSequence {
cppu::UnoType<XAccessibleStateSet>::get(),
cppu::UnoType<lang::XTypeProvider>::get()
- };
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type>
- aTypeSequence (aTypeList, 2);
+ };
return aTypeSequence;
}
-uno::Sequence<sal_Int8> SAL_CALL
- AccessibleStateSetHelper::getImplementationId()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+uno::Sequence<sal_Int8> SAL_CALL AccessibleStateSetHelper::getImplementationId()
+ throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}