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.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index d5aec78c0d8a..f37f93f19f83 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -247,10 +247,8 @@ uno::Sequence< ::com::sun::star::uno::Type>
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
const ::com::sun::star::uno::Type aTypeList[] = {
- ::getCppuType((const uno::Reference<
- XAccessibleStateSet>*)0),
- ::getCppuType((const uno::Reference<
- lang::XTypeProvider>*)0)
+ cppu::UnoType<XAccessibleStateSet>::get(),
+ cppu::UnoType<lang::XTypeProvider>::get()
};
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type>
aTypeSequence (aTypeList, 2);