summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/gradtrns.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-26 14:11:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 08:03:26 +0200
commit8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad (patch)
tree070a1a2f11d553511c24423290829713c1f2fba6 /svx/source/svdraw/gradtrns.cxx
parent781a30e938c58c4d91d08f8c6f9e3f8745682d72 (diff)
loplugin:constparams in svx
and fix a bug in the plugin itself when calling operator's like the one on std::function<> Change-Id: I1617607107eeff06785c1841f69e13ad2926218e Reviewed-on: https://gerrit.libreoffice.org/40446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/gradtrns.cxx')
-rw-r--r--svx/source/svdraw/gradtrns.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/gradtrns.cxx b/svx/source/svdraw/gradtrns.cxx
index b25ae340d0e4..69f73b51d44f 100644
--- a/svx/source/svdraw/gradtrns.cxx
+++ b/svx/source/svdraw/gradtrns.cxx
@@ -27,7 +27,7 @@
#include <vcl/outdev.hxx>
-void GradTransformer::GradToVec(GradTransGradient& rG, GradTransVector& rV, const SdrObject* pObj)
+void GradTransformer::GradToVec(GradTransGradient const & rG, GradTransVector& rV, const SdrObject* pObj)
{
// handle start color
rV.aCol1 = rG.aGradient.GetStartColor();
@@ -179,7 +179,7 @@ void GradTransformer::GradToVec(GradTransGradient& rG, GradTransVector& rV, cons
}
-void GradTransformer::VecToGrad(GradTransVector& rV, GradTransGradient& rG, GradTransGradient& rGOld, const SdrObject* pObj,
+void GradTransformer::VecToGrad(GradTransVector const & rV, GradTransGradient& rG, GradTransGradient const & rGOld, const SdrObject* pObj,
bool bMoveSingle, bool bMoveFirst)
{
// fill old gradient to new gradient to have a base