diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 10:53:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 10:00:09 +0200 |
commit | 67d5fbe0d0f63407e768d329ec7a2bdc131fdaf9 (patch) | |
tree | 8ecd7744b11b6eb144f2f490c7f7b3df2813615c /svtools/source/table/tablecontrol_impl.cxx | |
parent | 9aadd633eae3d31cf28a116c60bfbc844afcadb8 (diff) |
loplugin:virtualdead unused param in ITableRenderer
Change-Id: I008ff69494af305485a022def72a14a04b26a19e
Reviewed-on: https://gerrit.libreoffice.org/81183
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/table/tablecontrol_impl.cxx')
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index 4690c611fb49..7153a8fa7838 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -1195,8 +1195,7 @@ namespace svt { namespace table if (_rUpdateRect.GetIntersection(aCell.getRect()).IsEmpty()) continue; - bool isActiveColumn = (aCell.getColumn() == getCurrentColumn()); - pRenderer->PaintColumnHeader(aCell.getColumn(), isActiveColumn, rRenderContext, aCell.getRect(), rStyle); + pRenderer->PaintColumnHeader(aCell.getColumn(), rRenderContext, aCell.getRect(), rStyle); } } // the area occupied by the row header, if any @@ -1248,7 +1247,7 @@ namespace svt { namespace table if (m_pModel->hasRowHeaders()) { const tools::Rectangle aCurrentRowHeader(aRowHeaderArea.GetIntersection(aRowIterator.getRect())); - pRenderer->PaintRowHeader(isControlFocused, isSelectedRow, rRenderContext, aCurrentRowHeader, rStyle); + pRenderer->PaintRowHeader(rRenderContext, aCurrentRowHeader, rStyle); } if (!colCount) @@ -1660,7 +1659,7 @@ namespace svt { namespace table if ( _bShow ) pRenderer->ShowCellCursor( *m_pDataWindow, aCellRect ); else - pRenderer->HideCellCursor( *m_pDataWindow, aCellRect ); + pRenderer->HideCellCursor( *m_pDataWindow ); } } |