diff options
Diffstat (limited to 'unotools/source/config/fltrcfg.cxx')
-rw-r--r-- | unotools/source/config/fltrcfg.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx index ad19c6b3d856..95fd797f58e1 100644 --- a/unotools/source/config/fltrcfg.cxx +++ b/unotools/source/config/fltrcfg.cxx @@ -371,12 +371,10 @@ void SvtFilterOptions::ImplCommit() Sequence<Any> aValues(aNames.getLength()); Any* pValues = aValues.getArray(); - const Type& rType = cppu::UnoType<bool>::get(); for(int nProp = 0; nProp < aNames.getLength(); nProp++) { sal_uLong nFlag = lcl_GetFlag(nProp); - sal_Bool bVal = pImp->IsFlag( nFlag); - pValues[nProp].setValue(&bVal, rType); + pValues[nProp] <<= pImp->IsFlag(nFlag); } PutProperties(aNames, aValues); |