summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/textaction.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-22 12:09:16 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-22 12:50:51 +0200
commitcf10dd612d8330ea2e48f8bdf532e02aa9f43eb9 (patch)
treefa1ac7702d7f1b1169a84a3a55a545d1dcc3e3d8 /cppcanvas/source/mtfrenderer/textaction.cxx
parent1e6ccc7f7e5a4ae8f52b7500943d6b227f4d7e6a (diff)
cppcheck: Function parameter 'rLineInfo' should be passed by reference
Change-Id: I5bd3f808a0ca61731c5ceb57100d1b30a3163e98
Diffstat (limited to 'cppcanvas/source/mtfrenderer/textaction.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index f001f67b7bb3..6849a3e68800 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -579,7 +579,7 @@ namespace cppcanvas
uno::Reference< rendering::XPolyPolygon2D >& o_rTextLines,
const CanvasSharedPtr& rCanvas,
const uno::Sequence< double >& rOffsets,
- const tools::TextLineInfo rLineInfo )
+ const tools::TextLineInfo& rLineInfo )
{
const ::basegfx::B2DPolyPolygon aPoly(
textLinesFromLogicalOffsets(
@@ -597,7 +597,7 @@ namespace cppcanvas
uno::Reference< rendering::XPolyPolygon2D >& o_rTextLines,
const CanvasSharedPtr& rCanvas,
double nLineWidth,
- const tools::TextLineInfo rLineInfo )
+ const tools::TextLineInfo& rLineInfo )
{
const ::basegfx::B2DPolyPolygon aPoly(
tools::createTextLinesPolyPolygon( 0.0, nLineWidth,