diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-21 19:20:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-21 20:00:51 +0100 |
commit | adbad2a5575af87b3e5565de9d0b35d6e10a9c8a (patch) | |
tree | 203b42a73fa14065aa080205994a17d55d976466 /xmloff/source/meta | |
parent | 9486dd0692e08b3770bee8f3be2292263c6e5d26 (diff) |
Move XMLMetaExportComponent_get_implementation to a more reasonable place
Change-Id: Iaf3dc5351453b4aee8ffc1e7fb1bc670c45c507f
Diffstat (limited to 'xmloff/source/meta')
-rw-r--r-- | xmloff/source/meta/MetaExportComponent.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/meta/MetaExportComponent.cxx b/xmloff/source/meta/MetaExportComponent.cxx index e2cf7a0ddd70..cef777e6bf46 100644 --- a/xmloff/source/meta/MetaExportComponent.cxx +++ b/xmloff/source/meta/MetaExportComponent.cxx @@ -53,14 +53,6 @@ XMLMetaExportComponent::~XMLMetaExportComponent() { } -extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL -XMLMetaExportComponent_get_implementation( - css::uno::XComponentContext *context, - css::uno::Sequence<css::uno::Any> const &) -{ - return cppu::acquire(new XMLMetaExportComponent(context, "XMLMetaExportComponent", SvXMLExportFlags::META|SvXMLExportFlags::OASIS)); -} - void SAL_CALL XMLMetaExportComponent::setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) { try @@ -194,6 +186,14 @@ uno::Sequence< OUString > SAL_CALL XMLMetaExportOOO_getSupportedServiceNames() return uno::Sequence< OUString > { "com.sun.star.document.XMLMetaExporter" }; } +extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL +XMLMetaExportComponent_get_implementation( + css::uno::XComponentContext *context, + css::uno::Sequence<css::uno::Any> const &) +{ + return cppu::acquire(new XMLMetaExportComponent(context, "XMLMetaExportComponent", SvXMLExportFlags::META|SvXMLExportFlags::OASIS)); +} + OUString SAL_CALL XMLMetaExportOOO_getImplementationName() throw() { return OUString( "XMLMetaExportOOo" ); |