diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-14 09:50:02 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-14 09:50:02 +0100 |
commit | a05b122758abf6e692fb63a87a75a585213338f9 (patch) | |
tree | 584994b66ee22e779c6b3d9a149799315872660e /accessibility | |
parent | bba68ad15d79fc2fd58c7bdf75d8badc66253077 (diff) |
gridsort: replaced RemoveSelectedRow by ClearSelection - the first implementation was buggy, anyway, and ClearSelection is the same as SelectAll( false ) (which was the only use case)
Diffstat (limited to 'accessibility')
-rw-r--r--[-rwxr-xr-x] | accessibility/source/extended/AccessibleGridControlTable.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index 461e776f1392..513056877967 100755..100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -265,8 +265,7 @@ void SAL_CALL AccessibleGridControlTable::clearAccessibleSelection() TCSolarGuard aSolarGuard; ::osl::MutexGuard aGuard( getOslMutex() ); ensureIsAlive(); - for(unsigned int i=0;i<m_aTable.GetSelectedRows().size();i++) - m_aTable.RemoveSelectedRow((sal_Int32)i); + m_aTable.ClearSelection(); } void SAL_CALL AccessibleGridControlTable::selectAllAccessibleChildren() throw ( uno::RuntimeException ) |