summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLAutoTextEventImport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLAutoTextEventImport.cxx')
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.cxx21
1 files changed, 4 insertions, 17 deletions
diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx
index 9f74c41ce1b1..bf6b9af0118d 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.cxx
@@ -91,24 +91,11 @@ SvXMLImportContext* XMLAutoTextEventImport::CreateFastContext(
return nullptr;
}
-
-Sequence< OUString >
- XMLAutoTextEventImport_getSupportedServiceNames()
- throw()
-{
- Sequence<OUString> aSeq { XMLAutoTextEventImport_getImplementationName() };
- return aSeq;
-}
-
-OUString XMLAutoTextEventImport_getImplementationName() throw()
-{
- return "com.sun.star.comp.Writer.XMLOasisAutotextEventsImporter";
-}
-
-Reference< XInterface > XMLAutoTextEventImport_createInstance(
- const Reference< XMultiServiceFactory > & rSMgr)
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Writer_XMLOasisAutotextEventsImporter_get_implementation(
+ css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&)
{
- return static_cast<cppu::OWeakObject*>(new XMLAutoTextEventImport( comphelper::getComponentContext(rSMgr) ));
+ return cppu::acquire(new XMLAutoTextEventImport(context));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */