diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2020-01-15 11:33:29 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-15 14:54:39 +0100 |
commit | b8f02637131fcfa499a6397914fdf4687c88053d (patch) | |
tree | 24e88369d50dbb2ed519d99f6e06dc8c104d455b /sc | |
parent | 15abfe9ae976a0d940725cdd570facc372981393 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ib58c66590c60175d7984af55d23b7c55a6a2383e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86828
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/ooxformulaparser.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/exceldetect.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/oox/ooxformulaparser.cxx b/sc/source/filter/oox/ooxformulaparser.cxx index 51422101d3ed..73e3565933b1 100644 --- a/sc/source/filter/oox/ooxformulaparser.cxx +++ b/sc/source/filter/oox/ooxformulaparser.cxx @@ -119,8 +119,7 @@ sal_Bool SAL_CALL OOXMLFormulaParser::supportsService( const OUString& rService Sequence< OUString > SAL_CALL OOXMLFormulaParser::getSupportedServiceNames() { - Sequence< OUString > aServiceNames { "com.sun.star.sheet.FilterFormulaParser" }; - return aServiceNames; + return { "com.sun.star.sheet.FilterFormulaParser" }; } // com.sun.star.lang.XInitialization interface -------------------------------- diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx index 41c5c01c9367..a56497f5cde3 100644 --- a/sc/source/ui/unoobj/exceldetect.cxx +++ b/sc/source/ui/unoobj/exceldetect.cxx @@ -37,8 +37,7 @@ sal_Bool ScExcelBiffDetect::supportsService( const OUString& aName ) uno::Sequence<OUString> ScExcelBiffDetect::getSupportedServiceNames() { - uno::Sequence<OUString> aNames { "com.sun.star.frame.ExtendedTypeDetection" }; - return aNames; + return { "com.sun.star.frame.ExtendedTypeDetection" }; } namespace { |