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

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


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

commit e13060c064433ccfd56273c3e3dadf2a6e634532
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 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