summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/exceldetect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/exceldetect.cxx')
-rw-r--r--sc/source/ui/unoobj/exceldetect.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx
index 5e663bf908c6..ae8f2e657af0 100644
--- a/sc/source/ui/unoobj/exceldetect.cxx
+++ b/sc/source/ui/unoobj/exceldetect.cxx
@@ -39,8 +39,7 @@ sal_Bool ScExcelBiffDetect::supportsService( const OUString& aName ) throw (uno:
uno::Sequence<OUString> ScExcelBiffDetect::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
- uno::Sequence<OUString> aNames(1);
- aNames[0] = "com.sun.star.frame.ExtendedTypeDetection";
+ uno::Sequence<OUString> aNames { "com.sun.star.frame.ExtendedTypeDetection" };
return aNames;
}