summaryrefslogtreecommitdiff
path: root/sw/source/core/access
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2010-02-18 10:03:42 +0100
committerOliver-Rainer Wittmann <od@openoffice.org>2010-02-18 10:03:42 +0100
commit723a40a9525fdd7450f5716eec800eca99615732 (patch)
tree1b411b2cf2186702121ad34ef40c37c27cd822d0 /sw/source/core/access
parent3a7ddd1c0a06c09d52446ca7ae83028fcb93e92a (diff)
sw33a11y01: #i103961# - correct notification of accessible objects for insertion and deletion of table cells
Diffstat (limited to 'sw/source/core/access')
-rw-r--r--sw/source/core/access/acctable.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index b43a86b96a8c..660324f9f626 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1360,15 +1360,9 @@ void SwAccessibleTable::InvalidateChildPosOrSize( const SwAccessibleChild& rChil
}
}
- // There are two reason why this method has been called. The first one
- // is there is no context for pFrm. The method is them called by
- // the map, and we have to call our superclass.
- // The other situation is that we have been call by a call to get notified
- // about its change. We then must not call the superclass
- ASSERT( rChildFrmOrObj.GetSwFrm(), "frame expected" );
- uno::Reference< XAccessible > xAcc( GetMap()->GetContext( rChildFrmOrObj.GetSwFrm(), sal_False ) );
- if( !xAcc.is() )
- SwAccessibleContext::InvalidateChildPosOrSize( rChildFrmOrObj, rOldBox );
+ // --> OD 2010-02-18 #i013961# - always call super class method
+ SwAccessibleContext::InvalidateChildPosOrSize( rChildFrmOrObj, rOldBox );
+ // <--
}