diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-21 13:52:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-21 13:53:21 +0200 |
commit | 02021163dbbcc8904da0b2138c8b53684dcc8ab4 (patch) | |
tree | 3c3baf5d8152699b82f7a9aa66a093b6cff62b3b /sd | |
parent | 6bf00f0f94394c62bddcd77b776e4e3592160201 (diff) |
fdo#46808, Convert oox::PowerPointExport service to new style
The service already existed, it just needed an IDL file
Change-Id: I1404f4f60abafd489ddfb7294affcc7ff33885ce
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 5 | ||||
-rw-r--r-- | sd/util/sdfilt.component | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index ba04809775e1..084fa7873216 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -2141,8 +2141,9 @@ OUString SAL_CALL PowerPointExport_getImplementationName() throw() uno::Sequence< OUString > SAL_CALL PowerPointExport_getSupportedServiceNames() throw() { - const OUString aServiceName( "com.sun.star.comp.ooxpptx" ); - const Sequence< OUString > aSeq( &aServiceName, 1 ); + Sequence< OUString > aSeq( 2 ); + aSeq[0] = "com.sun.star.comp.ooxpptx"; + aSeq[1] = "com.sun.star.oox.PowerPointExport"; return aSeq; } diff --git a/sd/util/sdfilt.component b/sd/util/sdfilt.component index 3b1d3b0fb62b..349ea8b87194 100644 --- a/sd/util/sdfilt.component +++ b/sd/util/sdfilt.component @@ -11,5 +11,6 @@ xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.Impress.oox.PowerPointExport"> <service name="com.sun.star.comp.ooxpptx"/> + <service name="com.sun.star.oox.PowerPointExport"/> </implementation> </component> |