summaryrefslogtreecommitdiffstats
path: root/writerperfect/source/draw/CMXImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/draw/CMXImportFilter.cxx')
-rw-r--r--writerperfect/source/draw/CMXImportFilter.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/writerperfect/source/draw/CMXImportFilter.cxx b/writerperfect/source/draw/CMXImportFilter.cxx
index 9f034eb64598..0d89de95f052 100644
--- a/writerperfect/source/draw/CMXImportFilter.cxx
+++ b/writerperfect/source/draw/CMXImportFilter.cxx
@@ -49,7 +49,7 @@ throw (RuntimeException)
return OUString("com.sun.star.comp.Draw.CMXImportFilter");
}
-Sequence< OUString > SAL_CALL CMXImportFilter_getSupportedServiceNames()
+Sequence< OUString > CMXImportFilter_getSupportedServiceNames()
throw (RuntimeException)
{
Sequence < OUString > aRet(2);
@@ -59,12 +59,6 @@ throw (RuntimeException)
return aRet;
}
-Reference< XInterface > SAL_CALL CMXImportFilter_createInstance(const Reference< XComponentContext > &rContext)
-throw(Exception)
-{
- return static_cast<cppu::OWeakObject *>(new CMXImportFilter(rContext));
-}
-
// XServiceInfo
OUString SAL_CALL CMXImportFilter::getImplementationName()
throw (RuntimeException, std::exception)
@@ -82,4 +76,13 @@ throw (RuntimeException, std::exception)
return CMXImportFilter_getSupportedServiceNames();
}
+extern "C"
+SAL_DLLPUBLIC_EXPORT css::uno::XInterface *SAL_CALL
+com_sun_star_comp_Draw_CMXImportFilter_get_implementation(
+ css::uno::XComponentContext *const context,
+ const css::uno::Sequence<css::uno::Any> &)
+{
+ return cppu::acquire(new CMXImportFilter(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */