From c7d2ed40de437010544ae9d0a40882732a0d0adb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 10 Mar 2014 16:37:26 +0100 Subject: ucbhelper: simplify deprecated XTypeProvider.getImplementationId Change-Id: I7797ba7fdc47a5f8d2453e839d8644bf125652bd --- include/ucbhelper/macros.hxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'include/ucbhelper') diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx index e74c597bd5c9..9f69cdab4166 100644 --- a/include/ucbhelper/macros.hxx +++ b/include/ucbhelper/macros.hxx @@ -58,17 +58,7 @@ com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL \ Class::getImplementationId() \ throw( com::sun::star::uno::RuntimeException, std::exception ) \ { \ - static cppu::OImplementationId* pId = NULL; \ - if ( !pId ) \ - { \ - osl::Guard< osl::Mutex > aGuard( osl::Mutex::getGlobalMutex() ); \ - if ( !pId ) \ - { \ - static cppu::OImplementationId id( false ); \ - pId = &id; \ - } \ - } \ - return (*pId).getImplementationId(); \ + return css::uno::Sequence(); \ } #define GETTYPES_IMPL_START( Class ) \ -- cgit