summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-28 13:09:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-04 07:32:43 +0100
commit9865440d217d975206a3f91612f0666312bc8fd8 (patch)
tree7d5926e5bfe94c05a923ea68dba0ac6793c5a4a9 /svtools
parente7f71c7ab675f238b61d7f28e7f79f51c7e19801 (diff)
new loplugin typedefparam
verify that parameters use the exact same typedef-names (if any) in definition and declaration Change-Id: I55d2817f599b0253904dce2d35a1a93967e15a77 Reviewed-on: https://gerrit.libreoffice.org/68439 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/table/gridtablerenderer.hxx10
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx2
-rw-r--r--svtools/source/table/gridtablerenderer.cxx2
-rw-r--r--svtools/source/table/tablecontrol.cxx2
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx2
5 files changed, 9 insertions, 9 deletions
diff --git a/svtools/inc/table/gridtablerenderer.hxx b/svtools/inc/table/gridtablerenderer.hxx
index e52cb1b47c24..abd3ff7ac161 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(
- OutputDevice& _rDevice, const tools::Rectangle& _rArea,
+ vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea,
bool _bIsColHeaderArea, bool _bIsRowHeaderArea,
const StyleSettings& _rStyle ) override;
virtual void PaintColumnHeader( ColPos _nCol, bool _bActive,
- OutputDevice& _rDevice, const tools::Rectangle& _rArea,
+ vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea,
const StyleSettings& _rStyle ) override;
virtual void PrepareRow( RowPos _nRow, bool i_hasControlFocus, bool _bSelected,
- OutputDevice& _rDevice, const tools::Rectangle& _rRowArea,
+ vcl::RenderContext& _rDevice, const tools::Rectangle& _rRowArea,
const StyleSettings& _rStyle ) override;
virtual void PaintRowHeader(
bool i_hasControlFocus, bool _bSelected,
- OutputDevice& _rDevice, const tools::Rectangle& _rArea,
+ vcl::RenderContext& _rDevice, const tools::Rectangle& _rArea,
const StyleSettings& _rStyle ) override;
virtual void PaintCell( ColPos const i_col,
bool i_hasControlFocus, bool _bSelected,
- OutputDevice& _rDevice, const tools::Rectangle& _rArea,
+ vcl::RenderContext& _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 402f17ea385e..3a6ef091fe3f 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -222,7 +222,7 @@ namespace svt
}
}
- void EditBrowseBox::PaintField( OutputDevice& rDev, const tools::Rectangle& rRect,
+ void EditBrowseBox::PaintField( vcl::RenderContext& 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 59acd82d4789..c5a6adf521ca 100644
--- a/svtools/source/table/gridtablerenderer.cxx
+++ b/svtools/source/table/gridtablerenderer.cxx
@@ -61,7 +61,7 @@ namespace svt { namespace table
{
}
- BitmapEx const & getBitmapFor(OutputDevice const & i_device, long const i_headerHeight,
+ BitmapEx const & getBitmapFor(vcl::RenderContext 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 102e8397dd94..2a9a25c067d8 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -220,7 +220,7 @@ namespace svt { namespace table
}
- void TableControl::SelectRow( RowPos const i_rowIndex, bool const i_select )
+ void TableControl::SelectRow( sal_Int32 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 7c5a8f13ad76..b52a4f4b08ec 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -1727,7 +1727,7 @@ namespace svt { namespace table
}
- RowPos TableControl_Impl::getCurrentColumn() const
+ ColPos TableControl_Impl::getCurrentColumn() const
{
return m_nCurColumn;
}