[Libreoffice-commits] core.git: editeng/source
Julien Nabet
serval2412 at yahoo.fr
Mon Dec 12 21:41:27 UTC 2016
editeng/source/accessibility/AccessibleContextBase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b5ae4ccf462da85ec87e953212135871fd98bfbb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Dec 12 20:22:36 2016 +0100
tdf#104540: AccessibleEventNotifier AccessibleBase (editeng)
See https://bugs.documentfoundation.org/attachment.cgi?id=129537 for bt
For the remind, it follows a replace of OSL_ENSURE by an assert, see:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=8228227168a7eb3ebf14629bec87f01536c23970
Change-Id: Id05eeb6e6669232e9b5cc2ef2989827fef3025d0
Reviewed-on: https://gerrit.libreoffice.org/31918
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index e43433d..eea5451 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -401,7 +401,7 @@ void SAL_CALL AccessibleContextBase::removeAccessibleEventListener (
throw (uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
- if (rxListener.is())
+ if (rxListener.is() && mnClientId)
{
sal_Int32 nListenerCount = comphelper::AccessibleEventNotifier::removeEventListener( mnClientId, rxListener );
if ( !nListenerCount )
More information about the Libreoffice-commits
mailing list