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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new b82be50  Fix for issue #127895 (#31)
b82be50 is described below

commit b82be50fa0f1a4e9f27bc8d6c5da1904c31a998f
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
---
 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 0b3e800..e8967d0 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