summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-21 12:52:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-21 13:43:11 +0200
commitb2a574ec54c7e34789b401a540ff14511bf583ce (patch)
tree9387442f88605f52777d2c36894842f25603160d /writerperfect
parent9cbb4052d11d8fc5b408cfe75ddb5305f9a7461b (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')
-rw-r--r--writerperfect/source/calc/StarOfficeCalcImportFilter.cxx3
-rw-r--r--writerperfect/source/draw/QXPImportFilter.cxx3
-rw-r--r--writerperfect/source/draw/StarOfficeDrawImportFilter.cxx3
-rw-r--r--writerperfect/source/draw/ZMFImportFilter.cxx3
-rw-r--r--writerperfect/source/impress/StarOfficePresentationImportFilter.cxx3
-rw-r--r--writerperfect/source/writer/StarOfficeWriterImportFilter.cxx3
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*