summaryrefslogtreecommitdiff
path: root/extensions/source/ole
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 14:31:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:55 +0100
commitc7f1ce594c641698e8ed8fc99f029030978f91e1 (patch)
tree924dc417a8d635ad3fb95023631eb6c6a3b9cc8a /extensions/source/ole
parentc63ba20f2a591c50c3cee0bb5a2e1e8665e3e159 (diff)
extensions: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I234d36bc7ef9e8e27087067f6e43d7e522e52d4d
Diffstat (limited to 'extensions/source/ole')
-rw-r--r--extensions/source/ole/servprov.cxx12
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>();
}