[Libreoffice-commits] core.git: include/svtools svtools/source
Stephan Bergmann
sbergman at redhat.com
Tue Sep 8 09:02:35 PDT 2015
include/svtools/table/tablemodel.hxx | 8 +-------
svtools/source/table/tablecontrol_impl.cxx | 4 +---
svtools/source/table/tablecontrol_impl.hxx | 2 +-
svtools/source/uno/unocontroltablemodel.cxx | 2 +-
4 files changed, 4 insertions(+), 12 deletions(-)
New commits:
commit 1b082cdfbe8cc9961741a1bb906af810ea129da5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Sep 8 18:02:10 2015 +0200
Remove unused function param
Change-Id: Iab33c8008e07c4f17482dc3a8e4d15e38dc32b4e
diff --git a/include/svtools/table/tablemodel.hxx b/include/svtools/table/tablemodel.hxx
index 563ff88..9c07ef2 100644
--- a/include/svtools/table/tablemodel.hxx
+++ b/include/svtools/table/tablemodel.hxx
@@ -105,14 +105,8 @@ namespace svt { namespace table
/** notifies the listener that one or more columns have been inserted into
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
the table
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index 7100781..d99e88e 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -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();
impl_ni_relayout();
m_rAntiImpl.Invalidate();
-
- OSL_UNUSED( i_colIndex );
}
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index 59f3299..25084ab 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -298,7 +298,7 @@ namespace svt { namespace table
// ITableModelListener
virtual void rowsInserted( 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 allColumnsRemoved() SAL_OVERRIDE;
virtual void cellsUpdated( ColPos const i_firstCol, ColPos i_lastCol, RowPos const i_firstRow, RowPos const i_lastRow ) SAL_OVERRIDE;
diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx
index 7997de8..7140933 100644
--- a/svtools/source/uno/unocontroltablemodel.cxx
+++ b/svtools/source/uno/unocontroltablemodel.cxx
@@ -238,7 +238,7 @@ namespace svt { namespace table
++loop
)
{
- (*loop)->columnInserted( i_position );
+ (*loop)->columnInserted();
}
}
More information about the Libreoffice-commits
mailing list