summaryrefslogtreecommitdiff
path: root/svtools/source/control
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 16:06:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:58 +0100
commit62fae8bda81508828cca4ed8d2911961ce1971a4 (patch)
treee7ba1787142c822f45b01ddbcabb50135261d3ef /svtools/source/control
parentecc65fb2dfedce086e979ade9b0a3504b233be27 (diff)
svtools: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I2534ad4a720dd5d13324ac6fb19b8676ae50ff4e
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/accessibleruler.cxx17
1 files changed, 1 insertions, 16 deletions
diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx
index 99e1dd5f39dc..c9d55b98324e 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -379,7 +379,7 @@ Sequence< OUString > SAL_CALL SvtRulerAccessible::getSupportedServiceNames( void
//===== XTypeProvider =======================================================
Sequence< sal_Int8 > SAL_CALL SvtRulerAccessible::getImplementationId( void ) throw( RuntimeException, std::exception )
{
- return getUniqueId();
+ return css::uno::Sequence<sal_Int8>();
}
void SAL_CALL SvtRulerAccessible::disposing()
@@ -425,21 +425,6 @@ Rectangle SvtRulerAccessible::GetBoundingBox( void ) throw( RuntimeException )
return Rectangle( mpRepr->GetPosPixel(), mpRepr->GetSizePixel() );
}
-Sequence< sal_Int8 > SvtRulerAccessible::getUniqueId( void )
-{
- static OImplementationId* pId = 0;
- if( !pId )
- {
- MutexGuard aGuard( Mutex::getGlobalMutex() );
- if( !pId)
- {
- static OImplementationId aId;
- pId = &aId;
- }
- }
- return pId->getImplementationId();
-}
-
void SvtRulerAccessible::ThrowExceptionIfNotAlive( void ) throw( lang::DisposedException )
{
if( IsNotAlive() )