Kaydet (Commit) adbad2a5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Move XMLMetaExportComponent_get_implementation to a more reasonable place

Change-Id: Iaf3dc5351453b4aee8ffc1e7fb1bc670c45c507f
üst 9486dd06
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment