diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-05 12:03:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 11:56:06 +0000 |
commit | a40278562557828634886924c82f58e215be9756 (patch) | |
tree | cab700911bbcfbf280d962cbcac433e2892a337b /svgio/inc/svglinenode.hxx | |
parent | b4e12269e813338afc895986fbc4f2703cedd016 (diff) |
loplugin:countusersofdefaultparams in sfx2..svgio
Change-Id: Ia01f3a9aa21c88df5fe5242ad4a3c0acbe68fda0
Reviewed-on: https://gerrit.libreoffice.org/27903
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio/inc/svglinenode.hxx')
-rw-r--r-- | svgio/inc/svglinenode.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svgio/inc/svglinenode.hxx b/svgio/inc/svglinenode.hxx index 336c2cd4ca80..004e2410f6dd 100644 --- a/svgio/inc/svglinenode.hxx +++ b/svgio/inc/svglinenode.hxx @@ -52,23 +52,23 @@ namespace svgio /// X1 content, set if found in current context const SvgNumber& getX1() const { return maX1; } - void setX1(const SvgNumber& rX1 = SvgNumber()) { maX1 = rX1; } + void setX1(const SvgNumber& rX1) { maX1 = rX1; } /// Y1 content, set if found in current context const SvgNumber& getY1() const { return maY1; } - void setY1(const SvgNumber& rY1 = SvgNumber()) { maY1 = rY1; } + void setY1(const SvgNumber& rY1) { maY1 = rY1; } /// X2 content, set if found in current context const SvgNumber& getX2() const { return maX2; } - void setX2(const SvgNumber& rX2 = SvgNumber()) { maX2 = rX2; } + void setX2(const SvgNumber& rX2) { maX2 = rX2; } /// Y2 content, set if found in current context const SvgNumber& getY2() const { return maY2; } - void setY2(const SvgNumber& rY2 = SvgNumber()) { maY2 = rY2; } + void setY2(const SvgNumber& rY2) { maY2 = rY2; } /// transform content, set if found in current context const basegfx::B2DHomMatrix* getTransform() const { return mpaTransform; } - void setTransform(const basegfx::B2DHomMatrix* pMatrix = nullptr) { if(mpaTransform) delete mpaTransform; mpaTransform = nullptr; if(pMatrix) mpaTransform = new basegfx::B2DHomMatrix(*pMatrix); } + void setTransform(const basegfx::B2DHomMatrix* pMatrix) { if(mpaTransform) delete mpaTransform; mpaTransform = nullptr; if(pMatrix) mpaTransform = new basegfx::B2DHomMatrix(*pMatrix); } }; } // end of namespace svgreader } // end of namespace svgio |