From f3d9aab8410c00298f29ca0194c5d33d53c63ff2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 May 2016 09:46:12 +0200 Subject: teach passstuffbyref plugin to check for.. unnecessarily passing primitives by const ref. Suggested by Tor Lillqvist Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6 Reviewed-on: https://gerrit.libreoffice.org/24672 Reviewed-by: Tor Lillqvist Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/framelink.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/svx') diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index adc16dbae326..e7ac85c3b7d4 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -447,8 +447,8 @@ SVX_DLLPUBLIC drawinglayer::primitive2d::Primitive2DContainer CreateBorderPrimit const DiagStyle& rRFromBL, /// Diagonal frame border from bottom-left to right end of rBorder. const Color* pForceColor = nullptr,/// If specified, overrides frame border color. - const long& rRotationT = 9000, /// Angle of the top slanted frames in 100th of degree - const long& rRotationB = 9000 /// Angle of the bottom slanted frames in 100th of degree + const long rRotationT = 9000, /// Angle of the top slanted frames in 100th of degree + const long rRotationB = 9000 /// Angle of the bottom slanted frames in 100th of degree ); SVX_DLLPUBLIC drawinglayer::primitive2d::Primitive2DContainer CreateBorderPrimitives( @@ -465,8 +465,8 @@ SVX_DLLPUBLIC drawinglayer::primitive2d::Primitive2DContainer CreateBorderPrimit const Style& rRFromB, /// Vertical frame border from bottom to right end of rBorder. const Color* pForceColor = nullptr,/// If specified, overrides frame border color. - const long& rRotationT = 9000, /// Angle of the top slanted frame in 100th of degrees - const long& rRotationB = 9000 /// Angle of the bottom slanted frame in 100th of degrees + const long rRotationT = 9000, /// Angle of the top slanted frame in 100th of degrees + const long rRotationB = 9000 /// Angle of the bottom slanted frame in 100th of degrees ); SVX_DLLPUBLIC drawinglayer::primitive2d::Primitive2DContainer CreateClippedBorderPrimitives ( -- cgit