sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 77e7301aebe56b24562865efdebdbf66521942d3 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 12 00:29:42 2013 +0100 Keep maActiveCell, mpAccCell in sync Otherwise ScAccessibleSpreadsheet::GetAccessibleCellAt could return wrong results and JunitTest_sc_unoapi would fail at least on Mac OS X. Change-Id: I65e9231920d13393a6991db318d330ee42a985d4 diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 5a525d0..6aa263b 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -551,7 +551,9 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint } else { - xChild = getAccessibleCellAt(aNewCell.Row(),aNewCell.Col()); + mpAccCell = GetAccessibleCellAt(aNewCell.Row(),aNewCell.Col()); + xChild = mpAccCell; + mpAccCell->Init(); maActiveCell = aNewCell; aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits