diff options
Diffstat (limited to 'sc/source/ui/app/transobj.cxx')
-rw-r--r-- | sc/source/ui/app/transobj.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index ad6e01df42e1..eaeb319dd1b8 100644 --- a/sc/source/ui/app/transobj.cxx +++ b/sc/source/ui/app/transobj.cxx @@ -906,14 +906,10 @@ void ScTransferObj::StripRefs( ScDocument& rDoc, } } -namespace -{ - class theScTransferUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theScTransferUnoTunnelId> {}; -} - const css::uno::Sequence< sal_Int8 >& ScTransferObj::getUnoTunnelId() { - return theScTransferUnoTunnelId::get().getSeq(); + static const UnoTunnelIdInit theScTransferUnoTunnelId; + return theScTransferUnoTunnelId.getSeq(); } sal_Int64 SAL_CALL ScTransferObj::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) |