summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-12-17 11:19:21 +0100
committerMichael Stahl <mstahl@redhat.com>2013-12-17 18:32:42 +0100
commitebb6c4407da2f8e913f1520b61a36ca3a4b54a7e (patch)
treee51e2d8592aa624a9614e15dd49d43352023fe9b /svx
parent133b18e677f3c132a64d5ddfce2aef943f397860 (diff)
ChildrenManagerImpl::AddShape: do not use member after releasing mutex
This crashed here once during some JunitTest with an rDescriptor that did not match maVisibleChildren.back(). [The mrContext member used here is const so shouldn't cause problems.] Change-Id: I31e54b166badef6472127c64f0a4f49c51c73b30
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 5fe9aeff7459..71bafc8b619b 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -490,7 +490,7 @@ void ChildrenManagerImpl::AddShape (const Reference<drawing::XShape>& rxShape)
AccessibleEventId::CHILD,
aNewShape,
uno::Any());
- RegisterAsDisposeListener (rDescriptor.mxShape);
+ RegisterAsDisposeListener(rxShape);
}
}
}