summaryrefslogtreecommitdiff
path: root/unotools/source/config/fltrcfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/fltrcfg.cxx')
-rw-r--r--unotools/source/config/fltrcfg.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index 38a22757a6f3..ed9350c75bb0 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -156,8 +156,7 @@ void SvtWriterFilterOptions_Impl::ImplCommit()
{
SvtAppFilterOptions_Impl::ImplCommit();
- Sequence<OUString> aNames(1);
- aNames[0] = "Executable";
+ Sequence<OUString> aNames { "Executable" };
Sequence<Any> aValues(1);
aValues[0] <<= bLoadExecutable;
@@ -168,8 +167,7 @@ void SvtWriterFilterOptions_Impl::Load()
{
SvtAppFilterOptions_Impl::Load();
- Sequence<OUString> aNames(1);
- aNames[0] = "Executable";
+ Sequence<OUString> aNames { "Executable" };
Sequence<Any> aValues = GetProperties(aNames);
const Any* pValues = aValues.getConstArray();
@@ -204,8 +202,7 @@ void SvtCalcFilterOptions_Impl::ImplCommit()
{
SvtAppFilterOptions_Impl::ImplCommit();
- Sequence<OUString> aNames(1);
- aNames[0] = "Executable";
+ Sequence<OUString> aNames { "Executable" };
Sequence<Any> aValues(1);
aValues[0] <<= bLoadExecutable;
@@ -216,8 +213,7 @@ void SvtCalcFilterOptions_Impl::Load()
{
SvtAppFilterOptions_Impl::Load();
- Sequence<OUString> aNames(1);
- aNames[0] = "Executable";
+ Sequence<OUString> aNames { "Executable" };
Sequence<Any> aValues = GetProperties(aNames);
const Any* pValues = aValues.getConstArray();