diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 12:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 13:43:11 +0200 |
commit | b2a574ec54c7e34789b401a540ff14511bf583ce (patch) | |
tree | 9387442f88605f52777d2c36894842f25603160d /writerperfect | |
parent | 9cbb4052d11d8fc5b408cfe75ddb5305f9a7461b (diff) |
simplify some getSupportedServiceNames
Change-Id: I81195505d6006b6587f7b98c1545919083f0e588
Reviewed-on: https://gerrit.libreoffice.org/74497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
6 files changed, 6 insertions, 12 deletions
diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx index fa9e8565f736..fe3407944f4b 100644 --- a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx +++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx @@ -89,8 +89,7 @@ sal_Bool SAL_CALL StarOfficeCalcImportFilter::supportsService(const OUString& rS Sequence<OUString> SAL_CALL StarOfficeCalcImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/writerperfect/source/draw/QXPImportFilter.cxx b/writerperfect/source/draw/QXPImportFilter.cxx index ae97223f2cda..4b74b73167dc 100644 --- a/writerperfect/source/draw/QXPImportFilter.cxx +++ b/writerperfect/source/draw/QXPImportFilter.cxx @@ -52,8 +52,7 @@ sal_Bool SAL_CALL QXPImportFilter::supportsService(const OUString& rServiceName) Sequence<OUString> SAL_CALL QXPImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx index 22886a2db8bc..2250bb54abc0 100644 --- a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx +++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx @@ -91,8 +91,7 @@ sal_Bool SAL_CALL StarOfficeDrawImportFilter::supportsService(const OUString& rS Sequence<OUString> SAL_CALL StarOfficeDrawImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/writerperfect/source/draw/ZMFImportFilter.cxx b/writerperfect/source/draw/ZMFImportFilter.cxx index 24552b012fb3..84914ecc2682 100644 --- a/writerperfect/source/draw/ZMFImportFilter.cxx +++ b/writerperfect/source/draw/ZMFImportFilter.cxx @@ -52,8 +52,7 @@ sal_Bool SAL_CALL ZMFImportFilter::supportsService(const OUString& rServiceName) Sequence<OUString> SAL_CALL ZMFImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx index b6f4c1f61394..81936eb0e75a 100644 --- a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx +++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx @@ -92,8 +92,7 @@ sal_Bool SAL_CALL StarOfficePresentationImportFilter::supportsService(const OUSt Sequence<OUString> SAL_CALL StarOfficePresentationImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx index 25a48687da2c..b2ad8f9dc1b0 100644 --- a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx +++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx @@ -117,8 +117,7 @@ sal_Bool SAL_CALL StarOfficeWriterImportFilter::supportsService(const OUString& Sequence<OUString> SAL_CALL StarOfficeWriterImportFilter::getSupportedServiceNames() { - return Sequence<OUString>{ "com.sun.star.document.ImportFilter", - "com.sun.star.document.ExtendedTypeDetection" }; + return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* |