From 036a660a86c225992c7cab083073374c40b1f366 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 13 May 2014 23:19:08 +0200 Subject: Prefer cppu::UnoType::get() to ::getCppuType((T*)0) part11 Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe --- editeng/source/uno/unopracc.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editeng/source/uno/unopracc.cxx') diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx index be290bd007bf..e0d082f1aae7 100644 --- a/editeng/source/uno/unopracc.cxx +++ b/editeng/source/uno/unopracc.cxx @@ -86,11 +86,11 @@ uno::Sequence< uno::Type > SAL_CALL SvxAccessibleTextPropertySet::getTypes() thr { // Create a static typecollection ... static ::cppu::OTypeCollection aTypeCollection( - ::getCppuType( static_cast< const uno::Reference< beans::XPropertySet >* > (0) ), - ::getCppuType( static_cast< const uno::Reference< beans::XMultiPropertySet >* > (0) ), - ::getCppuType( static_cast< const uno::Reference< beans::XPropertyState >* > (0) ), - ::getCppuType( static_cast< const uno::Reference< lang::XServiceInfo >* > (0) ), - ::getCppuType( static_cast< const uno::Reference< lang::XTypeProvider >* > (0) ) ); + ::cppu::UnoType::get(), + ::cppu::UnoType::get(), + ::cppu::UnoType::get(), + ::cppu::UnoType::get(), + ::cppu::UnoType::get() ); // ... and set his address to static pointer! pTypeCollection = &aTypeCollection ; -- cgit