diff options
Diffstat (limited to 'writerperfect/source/draw/PageMakerImportFilter.cxx')
-rw-r--r-- | writerperfect/source/draw/PageMakerImportFilter.cxx | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/writerperfect/source/draw/PageMakerImportFilter.cxx b/writerperfect/source/draw/PageMakerImportFilter.cxx index fe69182090c9..a644aeb4f7ed 100644 --- a/writerperfect/source/draw/PageMakerImportFilter.cxx +++ b/writerperfect/source/draw/PageMakerImportFilter.cxx @@ -47,7 +47,7 @@ throw (RuntimeException) return OUString("org.libreoffice.comp.Draw.PageMakerImportFilter"); } -Sequence< OUString > SAL_CALL PageMakerImportFilter_getSupportedServiceNames() +Sequence< OUString > PageMakerImportFilter_getSupportedServiceNames() throw (RuntimeException) { Sequence< OUString > aRet(2); @@ -57,12 +57,6 @@ throw (RuntimeException) return aRet; } -Reference< XInterface > SAL_CALL PageMakerImportFilter_createInstance(const Reference< XComponentContext > &rContext) -throw(Exception) -{ - return static_cast<cppu::OWeakObject *>(new PageMakerImportFilter(rContext)); -} - // XServiceInfo OUString SAL_CALL PageMakerImportFilter::getImplementationName() throw (RuntimeException, std::exception) @@ -80,4 +74,13 @@ throw (RuntimeException, std::exception) return PageMakerImportFilter_getSupportedServiceNames(); } +extern "C" +SAL_DLLPUBLIC_EXPORT css::uno::XInterface *SAL_CALL +org_libreoffice_comp_Draw_PageMakerImportFilter_get_implementation( + css::uno::XComponentContext *const context, + const css::uno::Sequence<css::uno::Any> &) +{ + return cppu::acquire(new PageMakerImportFilter(context)); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |