tdf#101885: fix crash in AccFrameSelectorcp-5.3-16
commite19a986cb7a3d7dd2115a86e46fdb06043d9fb87
authorJulien Nabet <serval2412@yahoo.fr>
Sat, 13 May 2017 15:24:04 +0000 (13 17:24 +0200)
committerAndras Timar <andras.timar@collabora.com>
Tue, 6 Jun 2017 08:04:47 +0000 (6 10:04 +0200)
treeae325d43f19737b10c8cab9e069cc36b12f6ab6e
parentdb67f74151a728717e350eba7c2f29d91e885c4e
tdf#101885: fix crash in AccFrameSelector

Deal with no parent case
0x00007ffff5e98240 in vcl::Window::GetChildCount() const ()
0  0x00007ffff5e98240 in vcl::Window::GetChildCount() const ()
1  0x00007ffff54f2d1f in svx::a11y::AccFrameSelector::getAccessibleIndexInParent() ()
See https://bugs.documentfoundation.org/attachment.cgi?id=127141

Change-Id: I795dc4c083d743466b5605d3dcc8f9fca8674c43
Reviewed-on: https://gerrit.libreoffice.org/37575
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit c9275062ed745a8c5d52a3863299baf8bcf86ea7)
Reviewed-on: https://gerrit.libreoffice.org/38414
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
(cherry picked from commit 75d14731e79b66a75e2d3327b94721f6218eb4d7)
svx/source/accessibility/AccessibleFrameSelector.cxx