[Libreoffice-commits] core.git: starmath/source

Julien Nabet serval2412 at yahoo.fr
Sun May 7 10:15:25 UTC 2017


 starmath/source/accessibility.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d4938d2d8dc18c7b741efe90686f55f524fcfe2
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat May 6 15:01:48 2017 +0200

    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
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: sam tygier <samtygier at yahoo.co.uk>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 10278840f4c0..dad27759cc61 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -392,7 +392,7 @@ void SAL_CALL SmGraphicAccessible::addAccessibleEventListener(
 void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener(
         const Reference< XAccessibleEventListener >& xListener )
 {
-    if (xListener.is())
+    if (xListener.is() && nClientId)
     {
         SolarMutexGuard aGuard;
         sal_Int32 nListenerCount = comphelper::AccessibleEventNotifier::removeEventListener( nClientId, xListener );


More information about the Libreoffice-commits mailing list