diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 12:53:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-19 09:26:05 +0200 |
commit | 7b83ed313e0e54cb7da4525d13f63937e10867fa (patch) | |
tree | e5b950d14cfb8461f5ffb81af1af023b546024f7 /svtools/source/brwbox | |
parent | 32878b68574f8fb27a122dd3a356e369391bdfa6 (diff) |
loplugin:constparams in svtools
Change-Id: I2620419828864363af55011abe56143bb7d42f48
Reviewed-on: https://gerrit.libreoffice.org/40154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 2 | ||||
-rw-r--r-- | svtools/source/brwbox/brwbox3.cxx | 2 | ||||
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 2 | ||||
-rw-r--r-- | svtools/source/brwbox/datwin.hxx | 2 | ||||
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index 1745d1920fbc..ee823e22ba60 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -1023,7 +1023,7 @@ void BrowseBox::ImplPaintData(OutputDevice& _rOut, const tools::Rectangle& _rRec _rOut.SetLineColor( aOldLineColor ); } -void BrowseBox::PaintData( vcl::Window& rWin, vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) +void BrowseBox::PaintData( vcl::Window const & rWin, vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) { if (!bBootstrapped && IsReallyVisible()) BrowseBox::StateChanged(StateChangedType::InitShow); diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx index 75d2086d3348..9748be9a6b76 100644 --- a/svtools/source/brwbox/brwbox3.cxx +++ b/svtools/source/brwbox/brwbox3.cxx @@ -44,7 +44,7 @@ namespace svt AccessibleBrowseBoxObjType _eType, const Reference< XAccessible >& _rParent, BrowseBox& _rBrowseBox, - IAccessibleFactory& rFactory + IAccessibleFactory const & rFactory ) { Reference< XAccessible > xRet; diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index c9d1c2e86cf0..c47e69729ffe 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -126,7 +126,7 @@ void BrowserColumn::SetWidth(sal_uLong nNewWidthPixel, const Fraction& rCurrentZ } } -void BrowserColumn::Draw( BrowseBox& rBox, OutputDevice& rDev, const Point& rPos ) +void BrowserColumn::Draw( BrowseBox const & rBox, OutputDevice& rDev, const Point& rPos ) { if ( _nId == 0 ) { diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index f9cc4ce3f5f8..c89b45457c5e 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -77,7 +77,7 @@ public: bool IsFrozen() const { return _bFrozen; } void Freeze() { _bFrozen = true; } - void Draw( BrowseBox& rBox, OutputDevice& rDev, + void Draw( BrowseBox const & rBox, OutputDevice& rDev, const Point& rPos ); void SetWidth(sal_uLong nNewWidthPixel, const Fraction& rCurrentZoom); diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 2c6842681b36..c4d94dc5a7dd 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -1132,7 +1132,7 @@ namespace svt } - void EditBrowseBox::ResizeController(CellControllerRef& rController, const tools::Rectangle& rRect) + void EditBrowseBox::ResizeController(CellControllerRef const & rController, const tools::Rectangle& rRect) { rController->GetWindow().SetPosSizePixel(rRect.TopLeft(), rRect.GetSize()); } |