diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 14:31:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:55 +0100 |
commit | c7f1ce594c641698e8ed8fc99f029030978f91e1 (patch) | |
tree | 924dc417a8d635ad3fb95023631eb6c6a3b9cc8a /extensions/source/ole | |
parent | c63ba20f2a591c50c3cee0bb5a2e1e8665e3e159 (diff) |
extensions: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I234d36bc7ef9e8e27087067f6e43d7e522e52d4d
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/servprov.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx index 6c9ba8cb8418..e650b2ed7c36 100644 --- a/extensions/source/ole/servprov.cxx +++ b/extensions/source/ole/servprov.cxx @@ -653,17 +653,7 @@ Sequence< Type > SAL_CALL OleServer_Impl::getTypes( ) throw(RuntimeException) } Sequence< sal_Int8 > SAL_CALL OleServer_Impl::getImplementationId() throw(RuntimeException) { - 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>(); } |