diff options
Diffstat (limited to 'unotools/source/config/fltrcfg.cxx')
-rw-r--r-- | unotools/source/config/fltrcfg.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx index 93127a2005ef..ad19c6b3d856 100644 --- a/unotools/source/config/fltrcfg.cxx +++ b/unotools/source/config/fltrcfg.cxx @@ -93,18 +93,8 @@ SvtAppFilterOptions_Impl::~SvtAppFilterOptions_Impl() void SvtAppFilterOptions_Impl::ImplCommit() { - Sequence<OUString> aNames(2); - OUString* pNames = aNames.getArray(); - pNames[0] = "Load"; - pNames[1] = "Save"; - Sequence<Any> aValues(aNames.getLength()); - Any* pValues = aValues.getArray(); - - const Type& rType = cppu::UnoType<bool>::get(); - pValues[0].setValue(&bLoadVBA, rType); - pValues[1].setValue(&bSaveVBA, rType); - - PutProperties(aNames, aValues); + PutProperties( + {"Load", "Save"}, {css::uno::Any(bLoadVBA), css::uno::Any(bSaveVBA)}); } void SvtAppFilterOptions_Impl::Notify( const Sequence< OUString >& ) |