AccessibleEventNotifier AccessibleBase (chart2)
See https://cgit.freedesktop.org/libreoffice/core/commit/?id=0c876d497dd3320cbc06cf21b7b14ab859755bac This one fixes tdf#104551 Change-Id: Idd173bcb85655ec1b210fa00510fbabba0f5d867 Reviewed-on: https://gerrit.libreoffice.org/31844 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
80049d110a
commit
ae18926c2f
@ -911,7 +911,7 @@ void SAL_CALL AccessibleBase::removeAccessibleEventListener( const Reference< XA
|
||||
{
|
||||
MutexGuard aGuard( GetMutex() );
|
||||
|
||||
if ( xListener.is() )
|
||||
if ( xListener.is() && m_nEventNotifierId)
|
||||
{
|
||||
sal_Int32 nListenerCount = ::comphelper::AccessibleEventNotifier::removeEventListener( m_nEventNotifierId, xListener );
|
||||
if ( !nListenerCount )
|
||||
|
Loading…
x
Reference in New Issue
Block a user