summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/fmgridif.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 16:15:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:59 +0100
commit3b0b4ac5fc16a5f5568dd4da63818723b6d1d6fd (patch)
treea4e997e80b83d4e9a5c1767f5af285eea2acf781 /svx/source/fmcomp/fmgridif.cxx
parent62fae8bda81508828cca4ed8d2911961ce1971a4 (diff)
svx: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I520563a98c1285fed97174d2aaedfdd042ca699f
Diffstat (limited to 'svx/source/fmcomp/fmgridif.cxx')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx24
1 files changed, 2 insertions, 22 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 90ab712129e2..933844cc13a0 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -391,17 +391,7 @@ Sequence< Type> SAL_CALL FmXGridControl::getTypes( ) throw(RuntimeException, st
Sequence<sal_Int8> SAL_CALL FmXGridControl::getImplementationId( ) throw(RuntimeException, std::exception)
{
- static ::cppu::OImplementationId* pId = 0;
- if (! pId)
- {
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
- if (! pId)
- {
- static ::cppu::OImplementationId aId;
- pId = &aId;
- }
- }
- return pId->getImplementationId();
+ return css::uno::Sequence<sal_Int8>();
}
// XServiceInfo
@@ -1062,17 +1052,7 @@ Sequence< Type> SAL_CALL FmXGridPeer::getTypes( ) throw(RuntimeException, std::
Sequence<sal_Int8> SAL_CALL FmXGridPeer::getImplementationId( ) throw(RuntimeException, std::exception)
{
- static ::cppu::OImplementationId* pId = 0;
- if (! pId)
- {
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
- if (! pId)
- {
- static ::cppu::OImplementationId aId;
- pId = &aId;
- }
- }
- return pId->getImplementationId();
+ return css::uno::Sequence<sal_Int8>();
}