summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/unodoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/unodoc.cxx')
-rw-r--r--sc/source/ui/unoobj/unodoc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/unodoc.cxx b/sc/source/ui/unoobj/unodoc.cxx
index a5f99b2af757..641d556feb79 100644
--- a/sc/source/ui/unoobj/unodoc.cxx
+++ b/sc/source/ui/unoobj/unodoc.cxx
@@ -38,8 +38,7 @@ OUString SAL_CALL ScDocument_getImplementationName() throw()
uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw()
{
- uno::Sequence< OUString > aSeq( 1 );
- aSeq[0] = "com.sun.star.sheet.SpreadsheetDocument";
+ uno::Sequence<OUString> aSeq { "com.sun.star.sheet.SpreadsheetDocument" };
return aSeq;
}