summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 16:37:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:40:00 +0100
commitc7d2ed40de437010544ae9d0a40882732a0d0adb (patch)
tree9889bf012234c1f4cceb32cf68ab178684117439 /include/ucbhelper
parenta3858b40f376465ed08874ad1697f1178da6f633 (diff)
ucbhelper: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I7797ba7fdc47a5f8d2453e839d8644bf125652bd
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/macros.hxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx
index e74c597bd5c9..9f69cdab4166 100644
--- a/include/ucbhelper/macros.hxx
+++ b/include/ucbhelper/macros.hxx
@@ -58,17 +58,7 @@ com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL \
Class::getImplementationId() \
throw( com::sun::star::uno::RuntimeException, std::exception ) \
{ \
- static cppu::OImplementationId* pId = NULL; \
- if ( !pId ) \
- { \
- osl::Guard< osl::Mutex > aGuard( osl::Mutex::getGlobalMutex() ); \
- if ( !pId ) \
- { \
- static cppu::OImplementationId id( false ); \
- pId = &id; \
- } \
- } \
- return (*pId).getImplementationId(); \
+ return css::uno::Sequence<sal_Int8>(); \
}
#define GETTYPES_IMPL_START( Class ) \