xmloff: remove dead com.sun.star.comp.Impress.XMLMetaExporter
And test com.sun.star.comp.Impress.XMLOasisMetaExporter instead in JunitTest_xmloff_unoapi. Change-Id: Iec2da56b569c283686de1bd4aad5fb7ebebfbc2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97183 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
parent
1428b06e1f
commit
46308ce281
3 changed files with 3 additions and 15 deletions
|
@ -40,7 +40,7 @@ import com.sun.star.xml.sax.XDocumentHandler;
|
|||
|
||||
/**
|
||||
* Test for object which is represented by service
|
||||
* <code>com.sun.star.comp.Impress.XMLMetaExporter</code>. <p>
|
||||
* <code>com.sun.star.comp.Impress.XMLOasisMetaExporter</code>. <p>
|
||||
* Object implements the following interfaces :
|
||||
* <ul>
|
||||
* <li><code>com::sun::star::lang::XInitialization</code></li>
|
||||
|
@ -88,7 +88,7 @@ public class XMLMetaExporter extends TestCase {
|
|||
/**
|
||||
* Creating a TestEnvironment for the interfaces to be tested.
|
||||
* Creates an instance of the service
|
||||
* <code>com.sun.star.comp.Impress.XMLMetaExporter</code> with
|
||||
* <code>com.sun.star.comp.Impress.XMLOasisMetaExporter</code> with
|
||||
* argument which is an implementation of <code>XDocumentHandler</code>
|
||||
* and which can check if required tags and character data is
|
||||
* exported. <p>
|
||||
|
@ -118,7 +118,7 @@ public class XMLMetaExporter extends TestCase {
|
|||
final String NAME = "XMLMetaExporter";
|
||||
|
||||
oObj = (XInterface) xMSF.createInstanceWithArguments(
|
||||
"com.sun.star.comp.Impress.XMLMetaExporter",
|
||||
"com.sun.star.comp.Impress.XMLOasisMetaExporter",
|
||||
new Object[]{arg});
|
||||
XExporter xEx = UnoRuntime.queryInterface(XExporter.class,oObj);
|
||||
xEx.setSourceDocument(xImpressDoc);
|
||||
|
|
|
@ -2653,14 +2653,6 @@ com_sun_star_comp_Impress_XMLContentExporter_get_implementation(
|
|||
| SvXMLExportFlags::FONTDECLS));
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
|
||||
com_sun_star_comp_Impress_XMLMetaExporter_get_implementation(
|
||||
uno::XComponentContext* pCtx, uno::Sequence<uno::Any> const& /*rSeq*/)
|
||||
{
|
||||
return cppu::acquire(
|
||||
new SdXMLExport(pCtx, "XMLImpressMetaExportOOO", false, SvXMLExportFlags::META));
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
|
||||
com_sun_star_comp_Impress_XMLSettingsExporter_get_implementation(
|
||||
uno::XComponentContext* pCtx, uno::Sequence<uno::Any> const& /*rSeq*/)
|
||||
|
|
|
@ -143,10 +143,6 @@
|
|||
constructor="com_sun_star_comp_Impress_XMLOasisImporter_get_implementation">
|
||||
<service name="com.sun.star.comp.Impress.XMLOasisImporter"/>
|
||||
</implementation>
|
||||
<implementation name="XMLImpressMetaExportOOO"
|
||||
constructor="com_sun_star_comp_Impress_XMLMetaExporter_get_implementation">
|
||||
<service name="com.sun.star.comp.Impress.XMLMetaExporter"/>
|
||||
</implementation>
|
||||
<implementation name="XMLImpressMetaExportOasis"
|
||||
constructor="com_sun_star_comp_Impress_XMLOasisMetaExporter_get_implementation">
|
||||
<service name="com.sun.star.comp.Impress.XMLOasisMetaExporter"/>
|
||||
|
|
Loading…
Reference in a new issue