From 6e70103da07ec67b1c1f106a8fcd064e3df97271 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2016 11:59:23 +0200 Subject: 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 --- basctl/source/dlged/dlgedfac.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'basctl') diff --git a/basctl/source/dlged/dlgedfac.cxx b/basctl/source/dlged/dlgedfac.cxx index 83d3d48da8b2..7ddd166b9f50 100644 --- a/basctl/source/dlged/dlgedfac.cxx +++ b/basctl/source/dlged/dlgedfac.cxx @@ -116,8 +116,7 @@ IMPL_LINK_TYPED( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory, void ) uno::Reference< beans::XPropertySet > xPSet(pNew->GetUnoControlModel(), uno::UNO_QUERY); if (xPSet.is()) { - sal_Bool bB = true; - xPSet->setPropertyValue( DLGED_PROP_DROPDOWN, uno::Any(&bB,cppu::UnoType::get())); + xPSet->setPropertyValue( DLGED_PROP_DROPDOWN, uno::Any(true)); } } catch(...) -- cgit