diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index a11d6310c1bd..dce92b1d00c2 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -1369,9 +1369,7 @@ Reference< awt::XControlModel > BibDataManager::loadControlModel( xPropSet->setPropertyValue("StringItemList", aAny); - sal_Bool bTrue = true; - aAny.setValue( &bTrue, cppu::UnoType<bool>::get() ); - xPropSet->setPropertyValue( "Dropdown", aAny ); + xPropSet->setPropertyValue( "Dropdown", Any(true) ); } Reference< XFormComponent > aFormComp(xModel,UNO_QUERY ); |