summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 12:08:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 11:37:19 +0000
commit62633dfe026bc3badf7066e5fb454036bae9cfdc (patch)
treeb1a30ddd709ba80b8629d916d54c03d733651d12 /canvas
parentaa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde (diff)
clang-tidy performance-unnecessary-value-param in various
Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx2
-rw-r--r--canvas/source/cairo/cairo_canvashelper.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index f163aa06dda2..63542641dac3 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -938,7 +938,7 @@ namespace cairocanvas
cairo_set_matrix( pCairo, &aOrigMatrix );
}
- void doPolyPolygonImplementation( ::basegfx::B2DPolyPolygon aPolyPolygon,
+ void doPolyPolygonImplementation( const ::basegfx::B2DPolyPolygon& aPolyPolygon,
Operation aOperation,
cairo_t* pCairo,
const uno::Sequence< rendering::Texture >* pTextures,
diff --git a/canvas/source/cairo/cairo_canvashelper.hxx b/canvas/source/cairo/cairo_canvashelper.hxx
index f86a27d97f77..a5f60d763f76 100644
--- a/canvas/source/cairo/cairo_canvashelper.hxx
+++ b/canvas/source/cairo/cairo_canvashelper.hxx
@@ -275,7 +275,7 @@ namespace cairocanvas
};
/// also needed from SpriteHelper
- void doPolyPolygonImplementation( ::basegfx::B2DPolyPolygon aPolyPolygon,
+ void doPolyPolygonImplementation( const ::basegfx::B2DPolyPolygon& aPolyPolygon,
Operation aOperation,
cairo_t* pCairo,
const css::uno::Sequence< css::rendering::Texture >* pTextures,