diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 46494e00c827..1a54edffe40e 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -756,11 +756,7 @@ void OPropertySetHelper::fire if( !bVetoable ) { - OInterfaceContainerHelper * pCont = nullptr; - pCont = rBHelper.aLC.getContainer( - getPropertiesTypeIdentifier( ) - ); - if( pCont ) + if (auto pCont = rBHelper.aLC.getContainer(getPropertiesTypeIdentifier())) { // Here is a Bug, unbound properties are also fired OInterfaceIteratorHelper aIt( *pCont ); |