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,7 +313,7 @@ namespace cppcanvas ...@@ -313,7 +313,7 @@ namespace cppcanvas
// create line actions for text such as underline and // create line actions for text such as underline and
// strikeout // strikeout
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos, ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
const double& rLineWidth, const double& rLineWidth,
const TextLineInfo& rTextLineInfo ) const TextLineInfo& rTextLineInfo )
{ {
......
...@@ -196,7 +196,7 @@ namespace cppcanvas ...@@ -196,7 +196,7 @@ namespace cppcanvas
const double& rLineWidth, const double& rLineWidth,
const TextLineInfo& rTextLineInfo ); const TextLineInfo& rTextLineInfo );
::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint rStartPos, ::basegfx::B2DPolyPolygon createTextLinesPolyPolygon( const ::basegfx::B2DPoint& rStartPos,
const double& rLineWidth, const double& rLineWidth,
const TextLineInfo& rTextLineInfo ); 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