summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-12-10 22:19:00 +0100
committerJulien Nabet <serval2412@yahoo.fr>2016-12-10 21:44:36 +0000
commit0c876d497dd3320cbc06cf21b7b14ab859755bac (patch)
treed3ff23897d64a85afde044126f3194c2630288ea /sd
parent79c4f0a2facfb25f5a532a32fdcc40d3027d96b5 (diff)
AccessibleEventNotifier AccessibleSlideSorterObject (sd)
Following https://cgit.freedesktop.org/libreoffice/core/commit/?id=8228227168a7eb3ebf14629bec87f01536c23970 an OSL_ENSURE has been replaced by an assert I expect to find a bunch of these cases, so this one is the first I deal with. Change-Id: If2d3c2f5cff9d306918adc200146113eb54f26c8 Reviewed-on: https://gerrit.libreoffice.org/31841 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
index 5b7125709eee..297573645fea 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
@@ -269,7 +269,7 @@ void SAL_CALL AccessibleSlideSorterObject::removeAccessibleEventListener(
throw (uno::RuntimeException, std::exception)
{
ThrowIfDisposed();
- if (rxListener.is())
+ if (rxListener.is() && mnClientId)
{
const osl::MutexGuard aGuard(maMutex);