diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-19 13:52:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 09:14:43 +0200 |
commit | 34e8f52d51cbf2010d1ea61c78757b38d8392f74 (patch) | |
tree | b719c0edd29d385e3a8c67f79f9f754c847b5b07 /canvas/source/vcl | |
parent | b8e26ebe2c37640212ef663a483cddf1639af742 (diff) |
loplugin:constparams in canvas
Change-Id: Id54bb9dca606dd91e2d3ad4b63b9af7593c601e0
Reviewed-on: https://gerrit.libreoffice.org/40202
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r-- | canvas/source/vcl/impltools.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/impltools.hxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvashelper.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx index 3689ccedc6c7..99e42fd46557 100644 --- a/canvas/source/vcl/impltools.cxx +++ b/canvas/source/vcl/impltools.cxx @@ -99,7 +99,7 @@ namespace vclcanvas vcl::Font& io_rVCLFont, const rendering::ViewState& rViewState, const rendering::RenderState& rRenderState, - ::OutputDevice& rOutDev ) + ::OutputDevice const & rOutDev ) { ::basegfx::B2DHomMatrix aMatrix; diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx index d07a841ea754..b69067a7cf5c 100644 --- a/canvas/source/vcl/impltools.hxx +++ b/canvas/source/vcl/impltools.hxx @@ -89,7 +89,7 @@ namespace vclcanvas vcl::Font& io_rVCLFont, const css::rendering::ViewState& viewState, const css::rendering::RenderState& renderState, - ::OutputDevice& rOutDev ); + ::OutputDevice const & rOutDev ); /** Predicate, to determine whether polygon is actually an axis-aligned rectangle diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx index 59efaa6deff8..79a3cd9047af 100644 --- a/canvas/source/vcl/spritecanvashelper.cxx +++ b/canvas/source/vcl/spritecanvashelper.cxx @@ -66,7 +66,7 @@ namespace vclcanvas } void repaintBackground( OutputDevice& rOutDev, - OutputDevice& rBackBuffer, + OutputDevice const & rBackBuffer, const ::basegfx::B2DRange& rArea ) { const ::Point& rPos( vcl::unotools::pointFromB2DPoint( rArea.getMinimum()) ); |