summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/ooxformulaparser.cxx3
-rw-r--r--sc/source/ui/unoobj/exceldetect.cxx3
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 {