[Libreoffice-commits] core.git: sd/source
Julien Nabet
serval2412 at yahoo.fr
Sat Dec 10 21:45:12 UTC 2016
sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0c876d497dd3320cbc06cf21b7b14ab859755bac
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Dec 10 22:19:00 2016 +0100
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 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
index 5b71257..2975736 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);
More information about the Libreoffice-commits
mailing list