diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 11:24:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 12:48:50 +0200 |
commit | 1685ff1478b6ded2d9d23120cbd2e3dc3fe97ea7 (patch) | |
tree | 39a459141b48eb67744a45d40ac97db977ecdba8 | |
parent | b3483a07bc49d6726480a4ac76473bbee5a535d5 (diff) |
loplugin:unuseddefaultparam in svgio
Change-Id: I47fe88cd8c943acb9162cdfca53fb5fdbaacec04
-rw-r--r-- | svgio/inc/svgio/svgreader/svgmarkernode.hxx | 2 | ||||
-rw-r--r-- | svgio/inc/svgio/svgreader/svgtools.hxx | 2 | ||||
-rw-r--r-- | svgio/source/svgreader/svgtools.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svgio/inc/svgio/svgreader/svgmarkernode.hxx b/svgio/inc/svgio/svgreader/svgmarkernode.hxx index ee4698d599b7..f0cca96096ce 100644 --- a/svgio/inc/svgio/svgreader/svgmarkernode.hxx +++ b/svgio/inc/svgio/svgreader/svgmarkernode.hxx @@ -105,7 +105,7 @@ namespace svgio /// OrientAuto content, set if found in current context bool getOrientAuto() const { return mbOrientAuto; } - void setOrientAuto(bool bOrientAuto = true) { mbOrientAuto = bOrientAuto; } + void setOrientAuto() { mbOrientAuto = true; } }; } // end of namespace svgreader diff --git a/svgio/inc/svgio/svgreader/svgtools.hxx b/svgio/inc/svgio/svgreader/svgtools.hxx index 82f6d0034422..4c940ee819db 100644 --- a/svgio/inc/svgio/svgreader/svgtools.hxx +++ b/svgio/inc/svgio/svgreader/svgtools.hxx @@ -206,7 +206,7 @@ namespace svgio bool readSvgPaint(const OUString& rCandidate, SvgPaint& rSvgPaint, OUString& rURL, bool bCaseIndependent, SvgNumber& rOpacity); bool readSvgNumberVector(const OUString& rCandidate, SvgNumberVector& rSvgNumberVector); - ::std::vector< double > solveSvgNumberVector(const SvgNumberVector& rInput, const InfoProvider& rInfoProvider, NumberType aNumberType = length); + ::std::vector< double > solveSvgNumberVector(const SvgNumberVector& rInput, const InfoProvider& rInfoProvider); SvgAspectRatio readSvgAspectRatio(const OUString& rCandidate); diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx index db5e16332559..3783d406d60c 100644 --- a/svgio/source/svgreader/svgtools.cxx +++ b/svgio/source/svgreader/svgtools.cxx @@ -1682,7 +1682,7 @@ namespace svgio return rCandidate; } - ::std::vector< double > solveSvgNumberVector(const SvgNumberVector& rInput, const InfoProvider& rInfoProvider, NumberType aNumberType) + ::std::vector< double > solveSvgNumberVector(const SvgNumberVector& rInput, const InfoProvider& rInfoProvider) { ::std::vector< double > aRetval; @@ -1693,7 +1693,7 @@ namespace svgio for(sal_uInt32 a(0); a < nCount; a++) { - aRetval.push_back(rInput[a].solve(rInfoProvider, aNumberType)); + aRetval.push_back(rInput[a].solve(rInfoProvider)); } } |