diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-04 08:56:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-04 08:56:11 +0200 |
commit | c9bb48386bad7d2a40e6958883328145ae439cad (patch) | |
tree | 8576ed314b2d219fdd96b8c1990f16fb70847a54 /svtools | |
parent | 9865440d217d975206a3f91612f0666312bc8fd8 (diff) |
Revert "new loplugin typedefparam"
This reverts commit 9865440d217d975206a3f91612f0666312bc8fd8.
This is not ready to land yet, seems like the latest update
of the logic reveals a bunch more places I need to fix before it can land.
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/table/gridtablerenderer.hxx | 10 | ||||
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/gridtablerenderer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/svtools/inc/table/gridtablerenderer.hxx b/svtools/inc/table/gridtablerenderer.hxx index abd3ff7ac161..e52cb1b47c24 100644 --- a/svtools/inc/table/gridtablerenderer.hxx +++ b/svtools/inc/table/gridtablerenderer.hxx @@ -67,22 +67,22 @@ namespace svt { namespace table public: // ITableRenderer overridables virtual void PaintHeaderArea( - vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea, + OutputDevice& _rDevice, const tools::Rectangle& _rArea, bool _bIsColHeaderArea, bool _bIsRowHeaderArea, const StyleSettings& _rStyle ) override; virtual void PaintColumnHeader( ColPos _nCol, bool _bActive, - vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea, + OutputDevice& _rDevice, const tools::Rectangle& _rArea, const StyleSettings& _rStyle ) override; virtual void PrepareRow( RowPos _nRow, bool i_hasControlFocus, bool _bSelected, - vcl::RenderContext& _rDevice, const tools::Rectangle& _rRowArea, + OutputDevice& _rDevice, const tools::Rectangle& _rRowArea, const StyleSettings& _rStyle ) override; virtual void PaintRowHeader( bool i_hasControlFocus, bool _bSelected, - vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea, + OutputDevice& _rDevice, const tools::Rectangle& _rArea, const StyleSettings& _rStyle ) override; virtual void PaintCell( ColPos const i_col, bool i_hasControlFocus, bool _bSelected, - vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea, + OutputDevice& _rDevice, const tools::Rectangle& _rArea, const StyleSettings& _rStyle ) override; virtual void ShowCellCursor( vcl::Window& _rView, const tools::Rectangle& _rCursorRect) override; virtual void HideCellCursor( vcl::Window& _rView, const tools::Rectangle& _rCursorRect) override; diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 3a6ef091fe3f..402f17ea385e 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -222,7 +222,7 @@ namespace svt } } - void EditBrowseBox::PaintField( vcl::RenderContext& rDev, const tools::Rectangle& rRect, + void EditBrowseBox::PaintField( OutputDevice& rDev, const tools::Rectangle& rRect, sal_uInt16 nColumnId ) const { if (nColumnId == HandleColumnId) diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx index c5a6adf521ca..59acd82d4789 100644 --- a/svtools/source/table/gridtablerenderer.cxx +++ b/svtools/source/table/gridtablerenderer.cxx @@ -61,7 +61,7 @@ namespace svt { namespace table { } - BitmapEx const & getBitmapFor(vcl::RenderContext const & i_device, long const i_headerHeight, + BitmapEx const & getBitmapFor(OutputDevice const & i_device, long const i_headerHeight, StyleSettings const & i_style, bool const i_sortAscending); private: diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index 2a9a25c067d8..102e8397dd94 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -220,7 +220,7 @@ namespace svt { namespace table } - void TableControl::SelectRow( sal_Int32 const i_rowIndex, bool const i_select ) + void TableControl::SelectRow( RowPos const i_rowIndex, bool const i_select ) { ENSURE_OR_RETURN_VOID( ( i_rowIndex >= 0 ) && ( i_rowIndex < m_pImpl->getModel()->getRowCount() ), "TableControl::SelectRow: invalid row index!" ); diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index b52a4f4b08ec..7c5a8f13ad76 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -1727,7 +1727,7 @@ namespace svt { namespace table } - ColPos TableControl_Impl::getCurrentColumn() const + RowPos TableControl_Impl::getCurrentColumn() const { return m_nCurColumn; } |