diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:52 +0200 |
commit | ac76cc7e605b1bc9c0ff8e24d0b9995a8247074e (patch) | |
tree | 797df8cc9387fa70a0c09e574f49714ce4dc6710 /unotools/source/accessibility/accessiblestatesethelper.cxx | |
parent | 3191d7d1302dbde2445b9f300b3eb853120ede65 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
Diffstat (limited to 'unotools/source/accessibility/accessiblestatesethelper.cxx')
-rw-r--r-- | unotools/source/accessibility/accessiblestatesethelper.cxx | 6 |
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); |