Kaydet (Commit) ebb6c440 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst 133b18e6
......@@ -490,7 +490,7 @@ void ChildrenManagerImpl::AddShape (const Reference<drawing::XShape>& rxShape)
AccessibleEventId::CHILD,
aNewShape,
uno::Any());
RegisterAsDisposeListener (rDescriptor.mxShape);
RegisterAsDisposeListener(rxShape);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment