This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit e4c033a6c67754b39675d5af31808c4bb3a33173
Author: Bidouille <[email protected]>
AuthorDate: Fri May 7 23:47:40 2021 +0200

    Fix for issue #127895 (#31)
    
    Fixes using the incorrect variable.  See 
https://bz.apache.org/ooo/show_bug.cgi?id=127895
    (cherry picked from commit b82be50fa0f1a4e9f27bc8d6c5da1904c31a998f)
---
 main/sfx2/source/doc/sfxbasemodel.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/sfx2/source/doc/sfxbasemodel.cxx 
b/main/sfx2/source/doc/sfxbasemodel.cxx
index 17c19a6ecf..9dd35ed259 100644
--- a/main/sfx2/source/doc/sfxbasemodel.cxx
+++ b/main/sfx2/source/doc/sfxbasemodel.cxx
@@ -937,7 +937,7 @@ void SAL_CALL SfxBaseModel::disposing( const 
lang::EventObject& aObject )
     else if ( xListener.is() )
         m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const 
uno::Reference< XEVENTLISTENER >*)0), xListener );
     else if ( xDocListener.is() )
-        m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const 
uno::Reference< XDOCEVENTLISTENER >*)0), xListener );
+        m_pData->m_aInterfaceContainer.removeInterface( ::getCppuType((const 
uno::Reference< XDOCEVENTLISTENER >*)0), xDocListener );
 }
 
 
//________________________________________________________________________________________________________

Reply via email to