Kaydet (Commit) 1b082cdf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused function param

Change-Id: Iab33c8008e07c4f17482dc3a8e4d15e38dc32b4e
üst 5bac7853
...@@ -105,14 +105,8 @@ namespace svt { namespace table ...@@ -105,14 +105,8 @@ namespace svt { namespace table
/** notifies the listener that one or more columns have been inserted into /** notifies the listener that one or more columns have been inserted into
the table the table
@param first
the index of the first newly inserted row
@param last
the index of the last newly inserted row. Must not be smaller
than ->first
*/ */
virtual void columnInserted( ColPos const i_colIndex ) = 0; virtual void columnInserted() = 0;
/** notifies the listener that one or more columns have been removed from /** notifies the listener that one or more columns have been removed from
the table the table
......
...@@ -425,14 +425,12 @@ namespace svt { namespace table ...@@ -425,14 +425,12 @@ namespace svt { namespace table
} }
void TableControl_Impl::columnInserted( ColPos const i_colIndex ) void TableControl_Impl::columnInserted()
{ {
m_nColumnCount = m_pModel->getColumnCount(); m_nColumnCount = m_pModel->getColumnCount();
impl_ni_relayout(); impl_ni_relayout();
m_rAntiImpl.Invalidate(); m_rAntiImpl.Invalidate();
OSL_UNUSED( i_colIndex );
} }
......
...@@ -298,7 +298,7 @@ namespace svt { namespace table ...@@ -298,7 +298,7 @@ namespace svt { namespace table
// ITableModelListener // ITableModelListener
virtual void rowsInserted( RowPos first, RowPos last ) SAL_OVERRIDE; virtual void rowsInserted( RowPos first, RowPos last ) SAL_OVERRIDE;
virtual void rowsRemoved( RowPos first, RowPos last ) SAL_OVERRIDE; virtual void rowsRemoved( RowPos first, RowPos last ) SAL_OVERRIDE;
virtual void columnInserted( ColPos const i_colIndex ) SAL_OVERRIDE; virtual void columnInserted() SAL_OVERRIDE;
virtual void columnRemoved( ColPos const i_colIndex ) SAL_OVERRIDE; virtual void columnRemoved( ColPos const i_colIndex ) SAL_OVERRIDE;
virtual void allColumnsRemoved() SAL_OVERRIDE; virtual void allColumnsRemoved() SAL_OVERRIDE;
virtual void cellsUpdated( ColPos const i_firstCol, ColPos i_lastCol, RowPos const i_firstRow, RowPos const i_lastRow ) SAL_OVERRIDE; virtual void cellsUpdated( ColPos const i_firstCol, ColPos i_lastCol, RowPos const i_firstRow, RowPos const i_lastRow ) SAL_OVERRIDE;
......
...@@ -238,7 +238,7 @@ namespace svt { namespace table ...@@ -238,7 +238,7 @@ namespace svt { namespace table
++loop ++loop
) )
{ {
(*loop)->columnInserted( i_position ); (*loop)->columnInserted();
} }
} }
......
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