diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 14:27:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:54 +0100 |
commit | a5c0d79c75d4ec36b7b4dc40c9797ee7b5585d97 (patch) | |
tree | 01958f1e54ce582e1d1ed9f140ad1cf443ace377 /embeddedobj | |
parent | 447e910c19defcda3922396254a44a50ca19b9b5 (diff) |
embeddedobj: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I977e4af1cd4a2c960aee0b7d1058041fd31608d5
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/commonembedding/miscobj.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index fa4e02387c3a..eb26eabf8362 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -446,19 +446,7 @@ uno::Sequence< uno::Type > SAL_CALL OCommonEmbeddedObject::getTypes() uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getImplementationId() throw( uno::RuntimeException ) { - static ::cppu::OImplementationId* pID = NULL ; - - if ( !pID ) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ) ; - if ( !pID ) - { - static ::cppu::OImplementationId aID( false ) ; - pID = &aID ; - } - } - - return pID->getImplementationId() ; + return css::uno::Sequence<sal_Int8>(); } |