[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed Dec 11 15:30:16 PST 2013
sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 77e7301aebe56b24562865efdebdbf66521942d3
Author: Stephan Bergmann <sbergman at 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;
More information about the Libreoffice-commits
mailing list