summaryrefslogtreecommitdiff
path: root/include/comphelper/servicehelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/servicehelper.hxx')
-rw-r--r--include/comphelper/servicehelper.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx
index 435a4c4ff5b7..2fe01bc5255c 100644
--- a/include/comphelper/servicehelper.hxx
+++ b/include/comphelper/servicehelper.hxx
@@ -77,13 +77,10 @@ inline bool isUnoTunnelId(const css::uno::Sequence< sal_Int8 >& rId)
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
#define UNO3_GETIMPLEMENTATION_BASE_IMPL( classname ) \
-namespace \
-{ \
- class the##classname##UnoTunnelId : public rtl::Static< UnoTunnelIdInit, the##classname##UnoTunnelId> {}; \
-} \
const css::uno::Sequence< sal_Int8 > & classname::getUnoTunnelId() throw() \
{ \
- return the##classname##UnoTunnelId::get().getSeq(); \
+ static const UnoTunnelIdInit aId; \
+ return aId.getSeq(); \
}
#define UNO3_GETIMPLEMENTATION_IMPL( classname )\