diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 14:28:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:54 +0100 |
commit | c63ba20f2a591c50c3cee0bb5a2e1e8665e3e159 (patch) | |
tree | f6c5dd9434a1519ecafc64f49d39083853d3f252 /embedserv/source | |
parent | a5c0d79c75d4ec36b7b4dc40c9797ee7b5585d97 (diff) |
embedserv: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I383eea6c556005e1547df364b4cf34042b5e3a18
Diffstat (limited to 'embedserv/source')
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index 7ab767306073..e96c178b86f8 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -174,17 +174,7 @@ EmbedServer_Impl::getTypes( ) uno::Sequence< sal_Int8 > SAL_CALL EmbedServer_Impl::getImplementationId() throw(uno::RuntimeException) { - static ::cppu::OImplementationId *pId = 0; - if( ! pId ) - { - ::osl::MutexGuard guard( ::osl::Mutex::getGlobalMutex() ); - if( ! pId ) - { - static ::cppu::OImplementationId id( false ); - pId = &id; - } - } - return (*pId).getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } |