From 5bce6e34cd94ba3dd6e5fd2c96226ed62a3fea76 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 10 Mar 2014 15:59:35 +0100 Subject: stoc: simplify deprecated XTypeProvider.getImplementationId Change-Id: I57eca2dcf316232c26c528015c4ba18ba3c4760d --- stoc/source/corereflection/crefl.cxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'stoc/source/corereflection/crefl.cxx') diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index ad5367ee67b8..00e5ac483654 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -119,17 +119,7 @@ Sequence< Type > IdlReflectionServiceImpl::getTypes() Sequence< sal_Int8 > IdlReflectionServiceImpl::getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) { - static OImplementationId * s_pId = 0; - if (! s_pId) - { - MutexGuard aGuard( _aComponentMutex ); - if (! s_pId) - { - static OImplementationId s_aId; - s_pId = &s_aId; - } - } - return s_pId->getImplementationId(); + return css::uno::Sequence(); } // XComponent -- cgit