diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-12-12 20:22:36 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-12-12 21:40:56 +0000 |
commit | b5ae4ccf462da85ec87e953212135871fd98bfbb (patch) | |
tree | a87e57d90c598ae1677fc5a3e198a0a635347dd4 /editeng/source/accessibility | |
parent | 429be969b39867d6d9f36978c9ac15b601e78ba6 (diff) |
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@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng/source/accessibility')
-rw-r--r-- | editeng/source/accessibility/AccessibleContextBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index e43433dec88f..eea545185ee8 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 ) |