diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-13 18:07:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-13 17:01:04 +0000 |
commit | 0fbaff8f022a5d1a09a22dbfc6395c458bfc5bfd (patch) | |
tree | 958df99590d418b419b8c24314dd8a083004435f /ucbhelper | |
parent | 39a956dcf5c40c95a97768346046366c93abc60f (diff) |
enforce proper locking when calling OInterfaceContainerHelper4
Change-Id: Ic86305f3d16148925c7753200a687f36f08a6516
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146936
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 6318f5082d20..1615c72ade3c 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -1303,7 +1303,7 @@ void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt ) const // Notify listeners interested especially in the changed property. comphelper::OInterfaceContainerHelper4<beans::XPropertyChangeListener>* pPropsContainer - = m_pImpl->m_pPropertyChangeListeners->getContainer( + = m_pImpl->m_pPropertyChangeListeners->getContainer(aGuard, rEvt.PropertyName ); if ( pPropsContainer ) { @@ -1312,7 +1312,7 @@ void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt ) const // Notify listeners interested in all properties. pPropsContainer - = m_pImpl->m_pPropertyChangeListeners->getContainer( OUString() ); + = m_pImpl->m_pPropertyChangeListeners->getContainer( aGuard, OUString() ); if ( pPropsContainer ) { comphelper::OInterfaceIteratorHelper4 aIter( aGuard, *pPropsContainer ); |