diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-05-06 15:01:48 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-05-07 22:48:18 +0200 |
commit | 1e9abd9acdb55275019977a3a1a603b14607d358 (patch) | |
tree | 5f9d24b24d6ffdb9a0a610b95de8cf9b817c71de /starmath | |
parent | tdf#105942 Don't hang when file is protected and compressed (diff) | |
download | core-1e9abd9acdb55275019977a3a1a603b14607d358.tar.gz core-1e9abd9acdb55275019977a3a1a603b14607d358.zip |
tdf#107644: Crash on inserting formula
See https://bugs.documentfoundation.org/attachment.cgi?id=133085
Accessibility related
Change-Id: I87063e50a59b06f4f5a974764de9aa34e111b4fb
Reviewed-on: https://gerrit.libreoffice.org/37315
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit 3d4938d2d8dc18c7b741efe90686f55f524fcfe2)
Reviewed-on: https://gerrit.libreoffice.org/37337
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2e20df6eb9fe206b89d5eecbf88eea54d0719268)
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/accessibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index fece32e4c63c..19cc51784a62 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -417,7 +417,7 @@ void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception) { - if (xListener.is()) + if (xListener.is() && nClientId) { SolarMutexGuard aGuard; sal_Int32 nListenerCount = comphelper::AccessibleEventNotifier::removeEventListener( nClientId, xListener ); |