Kaydet (Commit) 77e7301a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst b200f8d7
...@@ -551,7 +551,9 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ...@@ -551,7 +551,9 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint
} }
else else
{ {
xChild = getAccessibleCellAt(aNewCell.Row(),aNewCell.Col()); mpAccCell = GetAccessibleCellAt(aNewCell.Row(),aNewCell.Col());
xChild = mpAccCell;
mpAccCell->Init();
maActiveCell = aNewCell; maActiveCell = aNewCell;
aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS; aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS;
......
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