diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 15:59:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:58 +0100 |
commit | 5bce6e34cd94ba3dd6e5fd2c96226ed62a3fea76 (patch) | |
tree | d08423e5d4902c72eb23635758c52352691b2f42 /stoc/source/corereflection/crefl.cxx | |
parent | af277041412ee8dcfa6a02a147efd89ae843d61b (diff) |
stoc: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I57eca2dcf316232c26c528015c4ba18ba3c4760d
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
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<sal_Int8>(); } // XComponent |