summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx3
-rw-r--r--shell/source/unix/exec/shellexec.cxx3
-rw-r--r--shell/source/win32/SysShExec.cxx3
-rw-r--r--shell/source/win32/simplemail/smplmailsuppl.cxx3
4 files changed, 4 insertions, 8 deletions
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index be09ff776e38..32a744846332 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -64,8 +64,7 @@ namespace // private
{
Sequence< OUString > SAL_CALL Component_getSupportedServiceNames()
{
- Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.system.SimpleCommandMail";
+ Sequence< OUString > aRet { "com.sun.star.system.SimpleCommandMail" };
return aRet;
}
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 99ed3a7a2f45..46cd6d14c41e 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -59,8 +59,7 @@ namespace // private
{
Sequence< OUString > SAL_CALL ShellExec_getSupportedServiceNames()
{
- Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.system.SystemShellExecute";
+ Sequence< OUString > aRet { "com.sun.star.system.SystemShellExecute" };
return aRet;
}
}
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index a0aef84e4d2d..441cfc50451b 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -67,8 +67,7 @@ namespace // private
{
Sequence< OUString > SAL_CALL SysShExec_getSupportedServiceNames()
{
- Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.system.SystemShellExecute";
+ Sequence< OUString > aRet { "com.sun.star.system.SystemShellExecute" };
return aRet;
}
diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx
index 495b4bf1ff89..6d6e33762a2b 100644
--- a/shell/source/win32/simplemail/smplmailsuppl.cxx
+++ b/shell/source/win32/simplemail/smplmailsuppl.cxx
@@ -38,8 +38,7 @@ namespace // private
{
Sequence< OUString > SAL_CALL Component_getSupportedServiceNames()
{
- Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.system.SimpleSystemMail";
+ Sequence< OUString > aRet { "com.sun.star.system.SimpleSystemMail" };
return aRet;
}