summaryrefslogtreecommitdiff
path: root/fpicker/source/office/OfficeFolderPicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/OfficeFolderPicker.cxx')
-rw-r--r--fpicker/source/office/OfficeFolderPicker.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx
index f3cdafb33957..ecb48a4fff4e 100644
--- a/fpicker/source/office/OfficeFolderPicker.cxx
+++ b/fpicker/source/office/OfficeFolderPicker.cxx
@@ -173,8 +173,7 @@ Sequence< OUString > SAL_CALL SvtFolderPicker::getSupportedServiceNames() throw(
/* Helper for XServiceInfo */
Sequence< OUString > SvtFolderPicker::impl_getStaticSupportedServiceNames()
{
- Sequence< OUString > seqServiceNames(1);
- seqServiceNames[0] = "com.sun.star.ui.dialogs.OfficeFolderPicker";
+ Sequence< OUString > seqServiceNames { "com.sun.star.ui.dialogs.OfficeFolderPicker" };
return seqServiceNames ;
}