summaryrefslogtreecommitdiff
path: root/svl/source/fsstor
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 16:00:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:58 +0100
commitecc65fb2dfedce086e979ade9b0a3504b233be27 (patch)
treef27d215c3894fb59d7f5c8aaa3c82a028e995d5a /svl/source/fsstor
parent5bce6e34cd94ba3dd6e5fd2c96226ed62a3fea76 (diff)
svl: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ib1e59f755e0472efe0448d1976cdfba13c64ff18
Diffstat (limited to 'svl/source/fsstor')
-rw-r--r--svl/source/fsstor/fsstorage.cxx16
-rw-r--r--svl/source/fsstor/ostreamcontainer.cxx15
2 files changed, 2 insertions, 29 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index 81713ce12f43..12087e3f26fa 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -342,21 +342,7 @@ uno::Sequence< uno::Type > SAL_CALL FSStorage::getTypes()
uno::Sequence< sal_Int8 > SAL_CALL FSStorage::getImplementationId()
throw( uno::RuntimeException, std::exception )
{
- static ::cppu::OImplementationId* pID = NULL ;
-
- if ( pID == NULL )
- {
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ) ;
-
- if ( pID == NULL )
- {
- static ::cppu::OImplementationId aID( false ) ;
- pID = &aID ;
- }
- }
-
- return pID->getImplementationId() ;
-
+ return css::uno::Sequence<sal_Int8>();
}
// XStorage
diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx
index 07c109838876..eed5e5a9b4f6 100644
--- a/svl/source/fsstor/ostreamcontainer.cxx
+++ b/svl/source/fsstor/ostreamcontainer.cxx
@@ -185,20 +185,7 @@ uno::Sequence< uno::Type > SAL_CALL OFSStreamContainer::getTypes()
uno::Sequence< sal_Int8 > SAL_CALL OFSStreamContainer::getImplementationId()
throw( uno::RuntimeException, std::exception )
{
- static ::cppu::OImplementationId* pID = NULL ;
-
- if ( pID == NULL )
- {
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ) ;
-
- if ( pID == NULL )
- {
- static ::cppu::OImplementationId aID( false ) ;
- pID = &aID ;
- }
- }
-
- return pID->getImplementationId() ;
+ return css::uno::Sequence<sal_Int8>();
}
// XStream