summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/table/tablecontrol.cxx2
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx6
-rw-r--r--svtools/source/table/tablecontrol_impl.hxx2
3 files changed, 4 insertions, 6 deletions
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index 4785248fbea6..3d8fedd2977e 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -177,7 +177,7 @@ namespace svt { namespace table
{
Rectangle _rRect;
if(_bRemoved)
- m_pImpl->invalidateRows(_nRowStart, _rRect);
+ m_pImpl->invalidateRows();
else
{
if(m_bSelectionChanged)
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index bd5f188e3889..d145e61b9274 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -899,7 +899,7 @@ namespace svt { namespace table
{
if(m_bResizingGrid)
impl_ni_updateColumnWidths();
- impl_ni_updateScrollbars();
+ invalidateRows();
m_bResizingGrid = true;
}
}
@@ -1614,10 +1614,8 @@ namespace svt { namespace table
m_nCurRow = _nRowPos-1;
}
//------------------------------------------------------------------------------
- void TableControl_Impl::invalidateRows(RowPos _nRowStart, Rectangle& _rCellRect)
+ void TableControl_Impl::invalidateRows()
{
- (void)_nRowStart;
- (void)_rCellRect;
impl_ni_updateScrollbars();
TableSize nVisibleRows = impl_getVisibleRows(true);
if(m_nTopRow+nVisibleRows>m_nRowCount && m_nRowCount>=nVisibleRows)
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index 8494e73d5ce9..bf22d8b3cd4e 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -200,7 +200,7 @@ namespace svt { namespace table
std::vector<RowPos>& getSelectedRows();
/** updates the vector, which contains the selected rows after removing the row nRowPos*/
void removeSelectedRow(RowPos _nRowPos);
- void invalidateRows(RowPos _nRowStart, Rectangle& _rCellRect );
+ void invalidateRows();
// IAbstractTableControl
virtual void hideCursor();