diff options
author | Bayram Çiçek <mail@bayramcicek.com.tr> | 2020-12-25 17:00:30 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-12-26 17:15:18 +0100 |
commit | ea14c98aaba550ecde4c4736d1a3abdc0fd451ef (patch) | |
tree | cc6f0256d5461769f4349dd7c4d92ee7713fe55c /sdext/source/pdfimport | |
parent | 6204c94aeec9f65244c487edecf03a78c5740fbc (diff) |
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Id4034a57580f37fd71f841deec9edfe9b7c26a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108286
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sdext/source/pdfimport')
-rw-r--r-- | sdext/source/pdfimport/filterdet.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfiadaptor.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx index 88f617ecea89..7e6e72f4d707 100644 --- a/sdext/source/pdfimport/filterdet.cxx +++ b/sdext/source/pdfimport/filterdet.cxx @@ -396,7 +396,7 @@ sal_Bool PDFDetector::supportsService(OUString const & ServiceName) css::uno::Sequence<OUString> PDFDetector::getSupportedServiceNames() { - return css::uno::Sequence<OUString>{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } bool checkDocChecksum( const OUString& rInPDFFileURL, diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx index 45f35320fe30..a8b045ca0ccc 100644 --- a/sdext/source/pdfimport/pdfiadaptor.cxx +++ b/sdext/source/pdfimport/pdfiadaptor.cxx @@ -201,7 +201,7 @@ sal_Bool PDFIHybridAdaptor::supportsService(OUString const & ServiceName) css::uno::Sequence<OUString> PDFIHybridAdaptor::getSupportedServiceNames() { - return css::uno::Sequence<OUString>{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } PDFIRawAdaptor::PDFIRawAdaptor( OUString const & implementationName, const uno::Reference< uno::XComponentContext >& xContext ) : @@ -323,7 +323,7 @@ sal_Bool PDFIRawAdaptor::supportsService(OUString const & ServiceName) css::uno::Sequence<OUString> PDFIRawAdaptor::getSupportedServiceNames() { - return css::uno::Sequence<OUString>{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } |