summaryrefslogtreecommitdiffstats
path: root/svgio/inc/svgmarkernode.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-05 12:03:30 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 11:56:06 +0000
commita40278562557828634886924c82f58e215be9756 (patch)
treecab700911bbcfbf280d962cbcac433e2892a337b /svgio/inc/svgmarkernode.hxx
parentloplugin:countusersofdefaultparams in editeng..fpicker (diff)
downloadcore-a40278562557828634886924c82f58e215be9756.tar.gz
core-a40278562557828634886924c82f58e215be9756.zip
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/svgmarkernode.hxx')
-rw-r--r--svgio/inc/svgmarkernode.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svgio/inc/svgmarkernode.hxx b/svgio/inc/svgmarkernode.hxx
index aa61806f1a10..68cc68eedd52 100644
--- a/svgio/inc/svgmarkernode.hxx
+++ b/svgio/inc/svgmarkernode.hxx
@@ -73,19 +73,19 @@ namespace svgio
/// viewBox content
const basegfx::B2DRange* getViewBox() const { return mpViewBox; }
- void setViewBox(const basegfx::B2DRange* pViewBox = nullptr) { if(mpViewBox) delete mpViewBox; mpViewBox = nullptr; if(pViewBox) mpViewBox = new basegfx::B2DRange(*pViewBox); }
+ void setViewBox(const basegfx::B2DRange* pViewBox) { if(mpViewBox) delete mpViewBox; mpViewBox = nullptr; if(pViewBox) mpViewBox = new basegfx::B2DRange(*pViewBox); }
/// SvgAspectRatio content
const SvgAspectRatio& getSvgAspectRatio() const { return maSvgAspectRatio; }
- void setSvgAspectRatio(const SvgAspectRatio& rSvgAspectRatio = SvgAspectRatio()) { maSvgAspectRatio = rSvgAspectRatio; }
+ void setSvgAspectRatio(const SvgAspectRatio& rSvgAspectRatio) { maSvgAspectRatio = rSvgAspectRatio; }
/// RefX content, set if found in current context
const SvgNumber& getRefX() const { return maRefX; }
- void setRefX(const SvgNumber& rRefX = SvgNumber()) { maRefX = rRefX; }
+ void setRefX(const SvgNumber& rRefX) { maRefX = rRefX; }
/// RefY content, set if found in current context
const SvgNumber& getRefY() const { return maRefY; }
- void setRefY(const SvgNumber& rRefY = SvgNumber()) { maRefY = rRefY; }
+ void setRefY(const SvgNumber& rRefY) { maRefY = rRefY; }
/// MarkerUnits content
MarkerUnits getMarkerUnits() const { return maMarkerUnits; }
@@ -93,15 +93,15 @@ namespace svgio
/// MarkerWidth content, set if found in current context
const SvgNumber& getMarkerWidth() const { return maMarkerWidth; }
- void setMarkerWidth(const SvgNumber& rMarkerWidth = SvgNumber()) { maMarkerWidth = rMarkerWidth; }
+ void setMarkerWidth(const SvgNumber& rMarkerWidth) { maMarkerWidth = rMarkerWidth; }
/// MarkerHeight content, set if found in current context
const SvgNumber& getMarkerHeight() const { return maMarkerHeight; }
- void setMarkerHeight(const SvgNumber& rMarkerHeight = SvgNumber()) { maMarkerHeight = rMarkerHeight; }
+ void setMarkerHeight(const SvgNumber& rMarkerHeight) { maMarkerHeight = rMarkerHeight; }
/// Angle content, set if found in current context
double getAngle() const { return mfAngle; }
- void setAngle(double fAngle = 0.0) { mfAngle = fAngle; mbOrientAuto = false; }
+ void setAngle(double fAngle) { mfAngle = fAngle; mbOrientAuto = false; }
/// OrientAuto content, set if found in current context
bool getOrientAuto() const { return mbOrientAuto; }