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/invocation | |
parent | af277041412ee8dcfa6a02a147efd89ae843d61b (diff) |
stoc: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I57eca2dcf316232c26c528015c4ba18ba3c4760d
Diffstat (limited to 'stoc/source/invocation')
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 6e67419d3e82..8db2783fda26 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -1050,17 +1050,7 @@ Sequence< Type > SAL_CALL Invocation_Impl::getTypes(void) throw( RuntimeExceptio Sequence< sal_Int8 > SAL_CALL Invocation_Impl::getImplementationId( ) throw( RuntimeException, std::exception) { - static OImplementationId *pId = 0; - if( ! pId ) - { - MutexGuard guard( Mutex::getGlobalMutex() ); - if( ! pId ) - { - static OImplementationId id( false ); - pId = &id; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } |