Kaydet (Commit) 0c565095 authored tarafından Eike Rathke's avatar Eike Rathke

remove superfluous this->Init() call

Init() does exactly the same, just that it didn't because it was already done ...
Went in with IAccessible2 integration.

Change-Id: Ib29bd000e283bbb500689914f1ceb692dd0ab380
üst 6a334757
...@@ -1555,17 +1555,12 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) ...@@ -1555,17 +1555,12 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
mpAccessibleSpreadsheet.is()) mpAccessibleSpreadsheet.is())
{ {
FreeAccessibleSpreadsheet(); FreeAccessibleSpreadsheet();
// Shapes / form controls after reload not accessible, rebuild the
// mpChildrenShapes variable.
if (mpChildrenShapes) if (mpChildrenShapes)
DELETEZ(mpChildrenShapes); DELETEZ(mpChildrenShapes);
mpChildrenShapes = new ScChildrenShapes( this, mpViewShell, meSplitPos );
// Accessibility: Shapes / form controls after reload not accessible
if ( !mpChildrenShapes )
{
mpChildrenShapes = new ScChildrenShapes( this, mpViewShell, meSplitPos );
}
//Invoke Init() to rebuild the mpChildrenShapes variable
this->Init();
AccessibleEventObject aEvent; AccessibleEventObject aEvent;
aEvent.EventId = AccessibleEventId::INVALIDATE_ALL_CHILDREN; aEvent.EventId = AccessibleEventId::INVALIDATE_ALL_CHILDREN;
......
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