Kaydet (Commit) 563c2367 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: Function parameter 'rStartPos' should be passed by reference

Change-Id: Ie453e1a95b54de07463b6f5052a23d6632400b8d
üst bc6b28c7
......@@ -313,9 +313,9 @@ namespace cppcanvas
// create line actions for text such as underline and
// strikeout
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos,
const double& rLineWidth,
const TextLineInfo& rTextLineInfo )
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
const double& rLineWidth,
const TextLineInfo& rTextLineInfo )
{
// fill the polypolygon with all text lines
::basegfx::B2DPolyPolygon aTextLinesPolyPoly;
......
......@@ -196,9 +196,9 @@ namespace cppcanvas
const double& rLineWidth,
const TextLineInfo& rTextLineInfo );
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos,
const double& rLineWidth,
const TextLineInfo& rTextLineInfo );
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
const double& rLineWidth,
const TextLineInfo& rTextLineInfo );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment