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

Change-Id: I5bd3f808a0ca61731c5ceb57100d1b30a3163e98
This commit is contained in:
Thomas Arnhold
2014-05-22 12:09:16 +02:00
parent 1e6ccc7f7e
commit cf10dd612d

View File

@@ -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,