diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 11:13:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:52 +0100 |
commit | 90dcd2ac130c1e8666acfe1ed4ac7547fc4d96b2 (patch) | |
tree | 907b9abf1656fa39df00d1e1b96566102b00914f /basic/source/uno/namecont.cxx | |
parent | d2aba93a9792a35602d3cc72bda5146018f3a6d5 (diff) |
basic: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I7f0d75c5eaa62f012cb2ae19c5107c09cbc6936a
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r-- | basic/source/uno/namecont.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 7590e18b55ff..cdc3c5214a4a 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -3217,19 +3217,7 @@ Sequence< Type > SfxLibrary::getTypes() Sequence< sal_Int8 > SfxLibrary::getImplementationId() throw( RuntimeException, std::exception ) { - static OImplementationId * s_pId_NameContainer = 0; - { - if( !s_pId_NameContainer ) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if( !s_pId_NameContainer ) - { - static OImplementationId s_aId_NameContainer; - s_pId_NameContainer = &s_aId_NameContainer; - } - } - return s_pId_NameContainer->getImplementationId(); - } + return css::uno::Sequence<sal_Int8>(); } // Methods XContainer |