[Libreoffice-commits] core.git: xmloff/source

Stephan Bergmann sbergman at redhat.com
Mon Jan 18 01:11:58 PST 2016


 xmloff/source/meta/MetaExportComponent.cxx |   19 -------------------
 1 file changed, 19 deletions(-)

New commits:
commit 22fa5972ec970bc537191cf543f2d4f90cee02fa
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 18 10:11:26 2016 +0100

    loplugin:unreffun
    
    Change-Id: If023e3916c7d2fa7f22958304606a2eec418fcf7

diff --git a/xmloff/source/meta/MetaExportComponent.cxx b/xmloff/source/meta/MetaExportComponent.cxx
index 7e5d78f..e2cf7a0 100644
--- a/xmloff/source/meta/MetaExportComponent.cxx
+++ b/xmloff/source/meta/MetaExportComponent.cxx
@@ -188,25 +188,6 @@ void XMLMetaExportComponent::_ExportAutoStyles() {}
 void XMLMetaExportComponent::_ExportMasterStyles() {}
 void XMLMetaExportComponent::_ExportContent() {}
 
-
-uno::Sequence< OUString > SAL_CALL XMLMetaExportComponent_getSupportedServiceNames()
-    throw()
-{
-    return uno::Sequence< OUString > { "com.sun.star.document.XMLOasisMetaExporter" };
-}
-
-OUString SAL_CALL XMLMetaExportComponent_getImplementationName() throw()
-{
-    return OUString( "XMLMetaExportComponent" );
-}
-
-uno::Reference< uno::XInterface > SAL_CALL XMLMetaExportComponent_createInstance(
-        const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
-    throw( uno::Exception )
-{
-    return static_cast<cppu::OWeakObject*>(new XMLMetaExportComponent( comphelper::getComponentContext(rSMgr), XMLMetaExportComponent_getImplementationName(), SvXMLExportFlags::META|SvXMLExportFlags::OASIS));
-}
-
 uno::Sequence< OUString > SAL_CALL XMLMetaExportOOO_getSupportedServiceNames()
     throw()
 {


More information about the Libreoffice-commits mailing list