summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 1b805102c6d7..60fefb112594 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -1691,14 +1691,10 @@ Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames()
"com.sun.star.style.ParagraphPropertiesComplex" };
}
-namespace
-{
- class theSwXTextViewCursorUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSwXTextViewCursorUnoTunnelId > {};
-}
-
const uno::Sequence< sal_Int8 > & SwXTextViewCursor::getUnoTunnelId()
{
- return theSwXTextViewCursorUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theSwXTextViewCursorUnoTunnelId;
+ return theSwXTextViewCursorUnoTunnelId.getSeq();
}
//XUnoTunnel