summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/docuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 6780821b6cab..1e531424a92c 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -3086,14 +3086,10 @@ sal_Int64 SAL_CALL ScModelObj::getSomething(
return 0;
}
-namespace
-{
- class theScModelObjUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theScModelObjUnoTunnelId> {};
-}
-
const uno::Sequence<sal_Int8>& ScModelObj::getUnoTunnelId()
{
- return theScModelObjUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theScModelObjUnoTunnelId;
+ return theScModelObjUnoTunnelId.getSeq();
}
// XChangesNotifier