summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility/accessiblerelationsethelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/accessibility/accessiblerelationsethelper.cxx')
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index 91753e43c7c6..7bdbedccc256 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -235,10 +235,8 @@ uno::Sequence< ::com::sun::star::uno::Type>
{
osl::MutexGuard aGuard (maMutex);
const ::com::sun::star::uno::Type aTypeList[] = {
- ::getCppuType((const uno::Reference<
- XAccessibleRelationSet>*)0),
- ::getCppuType((const uno::Reference<
- lang::XTypeProvider>*)0)
+ cppu::UnoType<XAccessibleRelationSet>::get(),
+ cppu::UnoType<lang::XTypeProvider>::get()
};
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type>
aTypeSequence (aTypeList, 2);