summaryrefslogtreecommitdiff
path: root/starmath/source/mathml/mathmlexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathml/mathmlexport.cxx')
-rw-r--r--starmath/source/mathml/mathmlexport.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx
index d125e49be6a2..e6de9b285f4c 100644
--- a/starmath/source/mathml/mathmlexport.cxx
+++ b/starmath/source/mathml/mathmlexport.cxx
@@ -329,16 +329,10 @@ sal_Int64 SAL_CALL SmXMLExport::getSomething(const uno::Sequence<sal_Int8>& rId)
return SvXMLExport::getSomething(rId);
}
-namespace
-{
-class theSmXMLExportUnoTunnelId : public rtl::Static<UnoTunnelIdInit, theSmXMLExportUnoTunnelId>
-{
-};
-}
-
const uno::Sequence<sal_Int8>& SmXMLExport::getUnoTunnelId() throw()
{
- return theSmXMLExportUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theSmXMLExportUnoTunnelId;
+ return theSmXMLExportUnoTunnelId.getSeq();
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*