diff options
Diffstat (limited to 'sc/source/ui/unoobj/textuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/textuno.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index 18f40a764ce1..0d2ae5bd744e 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -142,14 +142,10 @@ sal_Int64 SAL_CALL ScHeaderFooterContentObj::getSomething( return 0; } -namespace -{ - class theScHeaderFooterContentObjUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theScHeaderFooterContentObjUnoTunnelId> {}; -} - const uno::Sequence<sal_Int8>& ScHeaderFooterContentObj::getUnoTunnelId() { - return theScHeaderFooterContentObjUnoTunnelId::get().getSeq(); + static const UnoTunnelIdInit theScHeaderFooterContentObjUnoTunnelId; + return theScHeaderFooterContentObjUnoTunnelId.getSeq(); } rtl::Reference<ScHeaderFooterContentObj> ScHeaderFooterContentObj::getImplementation( |