From 1b1ba41c8b258ffe84d11eaac3948271a7c2cad8 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Wed, 12 Jan 2011 21:59:36 +0100 Subject: [PATCH] gridsort: removed the XGridDataModel.removeRows flavour which took an arbitrary sequence of indexes - this makes the handling, in particular for listeners, unnecessarily complex, and has a questionable use only --- .../sun/star/awt/grid/XMutableGridDataModel.idl | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl index 9bffd3e396d4..6edb91895e88 100755 --- a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl @@ -71,21 +71,6 @@ interface XMutableGridDataModel : XGridDataModel void removeRow( [in] long RowIndex ) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ); - /** removes multiple rows of data from the model - -

Grid data listeners are notified of this change via the XGridDataListener::rowsRemoved - method. The GridDataEvent::Rows member contains the indexes of the rows before the removal. - This is important to take into account by the listener, as with every removed row, the index of all subsequent - rows changes - nonetheless, the Rows array contains the original row indexes.

- - @param RowIndexes - the indexes of the rows that should be removed. - @throws ::com::sun::star::lang::IndexOutOfBoundsException - if one of the indexes given in RowIndexes is invalid. - */ - void removeRows( [in] sequence< long > RowIndexes ) - raises ( ::com::sun::star::lang::IndexOutOfBoundsException ); - /** Removes all rows from the model. */ void removeAllRows();