summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index d75c96ea626d..de29e8260812 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -353,14 +353,10 @@ uno::Sequence< uno::Type > SAL_CALL SmModel::getTypes( )
cppu::UnoType<XRenderable>::get() });
}
-namespace
-{
- class theSmModelUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSmModelUnoTunnelId> {};
-}
-
const uno::Sequence< sal_Int8 > & SmModel::getUnoTunnelId()
{
- return theSmModelUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theSmModelUnoTunnelId;
+ return theSmModelUnoTunnelId.getSeq();
}
sal_Int64 SAL_CALL SmModel::getSomething( const uno::Sequence< sal_Int8 >& rId )