summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 11:59:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 11:59:23 +0200
commit6e70103da07ec67b1c1f106a8fcd064e3df97271 (patch)
tree091834cdeb1358b9b3b0c3416f8672cc7cfb26d0 /unotools
parent019a0fbdd860994ba727f19eba0879136406d0f9 (diff)
While at it, delete Any functions on sal_Bool*
(at least for LIBO_INTERNAL_ONLY), to help further reduce the occurrences of sal_Bool across the code base Change-Id: I70654a0cb56655984c717b7b894f26c9ab47536e
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/fltrcfg.cxx4
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);