Removed unintentionally introduced code. Spotted by Stippi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -522,13 +522,10 @@ Table::TableRowsAdded(TableModel* model, int32 rowIndex, int32 count)
|
|||||||
void
|
void
|
||||||
Table::TableRowsRemoved(TableModel* model, int32 rowIndex, int32 count)
|
Table::TableRowsRemoved(TableModel* model, int32 rowIndex, int32 count)
|
||||||
{
|
{
|
||||||
int32 rowsRemoved = 0;
|
|
||||||
|
|
||||||
for (int32 i = rowIndex + count - 1; i >= rowIndex; i--) {
|
for (int32 i = rowIndex + count - 1; i >= rowIndex; i--) {
|
||||||
if (BRow* row = fRows.RemoveItemAt(i)) {
|
if (BRow* row = fRows.RemoveItemAt(i)) {
|
||||||
RemoveRow(row);
|
RemoveRow(row);
|
||||||
delete row;
|
delete row;
|
||||||
rowsRemoved++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user