ucb/source/core/ucbstore.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bc65001a161f898809248eb899c36341ad2d550b
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Feb 13 19:52:14 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Feb 13 19:00:13 2023 +0000

    Fix the build
    
    ...after 756185b5795c95180d32d02abfbd65951779b40e "osl::Mutex->std::mutex in
    PersistentPropertySet" caused
    
    > ucb/source/core/ucbstore.cxx:1913:75: error: too few arguments to 
function call, expected 2, have 1
    >             m_pPropertyChangeListeners->getContainer( rEvent.PropertyName 
);
    >             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
^
    > include/comphelper/multiinterfacecontainer4.hxx:71:50: note: 
'getContainer' declared here
    >     inline OInterfaceContainerHelper4<listener>* 
getContainer(std::unique_lock<std::mutex>& rGuard,
    >                                                  ^
    > ucb/source/core/ucbstore.cxx:1921:66: error: too few arguments to 
function call, expected 2, have 1
    >             m_pPropertyChangeListeners->getContainer( OUString() );
    >             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^
    > include/comphelper/multiinterfacecontainer4.hxx:71:50: note: 
'getContainer' declared here
    >     inline OInterfaceContainerHelper4<listener>* 
getContainer(std::unique_lock<std::mutex>& rGuard,
                                                     ^
    
    Change-Id: Ie13c7bf17d066607ec7095b3e45ab7d6ecea1cb6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146940
    Tested-by: Stephan Bergmann <sberg...@redhat.com>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index b1b42730f249..191605dd1f7f 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -1910,7 +1910,7 @@ void PersistentPropertySet::notifyPropertyChangeEvent(
 
     // Get "normal" listeners for the property.
     OInterfaceContainerHelper4<XPropertyChangeListener>* pContainer =
-            m_pPropertyChangeListeners->getContainer( rEvent.PropertyName );
+            m_pPropertyChangeListeners->getContainer( aGuard, 
rEvent.PropertyName );
     if ( pContainer && pContainer->getLength(aGuard) )
     {
         pContainer->notifyEach( aGuard, 
&XPropertyChangeListener::propertyChange, rEvent );
@@ -1918,7 +1918,7 @@ void PersistentPropertySet::notifyPropertyChangeEvent(
 
     // Get "normal" listeners for all properties.
     OInterfaceContainerHelper4<XPropertyChangeListener>* pNoNameContainer =
-            m_pPropertyChangeListeners->getContainer( OUString() );
+            m_pPropertyChangeListeners->getContainer( aGuard, OUString() );
     if ( pNoNameContainer && pNoNameContainer->getLength(aGuard) )
     {
         pNoNameContainer->notifyEach( aGuard, 
&XPropertyChangeListener::propertyChange, rEvent );

Reply via email to