[Libreoffice-commits] core.git: chart2/source
Julien Nabet
serval2412 at yahoo.fr
Sun Dec 11 05:02:45 UTC 2016
chart2/source/controller/accessibility/AccessibleBase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ae18926c2fae5e36256561b60c74990150e5fbdc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Dec 10 22:38:17 2016 +0100
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 at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index 497e1e5..9d40cc5 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -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 )
More information about the Libreoffice-commits
mailing list