diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:46:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:46:42 +0200 |
commit | 03a6b6ef1c6fef294e6fa530da8918171f91a916 (patch) | |
tree | cefc87cae50cb0ca1c684d0e7de12442d7b0afe1 /svgio/source/svgreader/svgcharacternode.cxx | |
parent | df7390e6c99d2784a8129121056a7ccf2adc4d54 (diff) |
loplugin:defaultparams
Change-Id: Idad9ea385a9b83ad88792cc489413eeb6e6fcd9b
Diffstat (limited to 'svgio/source/svgreader/svgcharacternode.cxx')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx index 618943716a4b..74d388dc6617 100644 --- a/svgio/source/svgreader/svgcharacternode.cxx +++ b/svgio/source/svgreader/svgcharacternode.cxx @@ -273,7 +273,7 @@ namespace svgio bBiDiStrong); // prepare FontSize - double fFontWidth(rSvgStyleAttributes.getFontSize().solve(*this, length)); + double fFontWidth(rSvgStyleAttributes.getFontSize().solve(*this)); double fFontHeight(fFontWidth); // prepare locale @@ -418,7 +418,7 @@ namespace svgio case BaselineShift_Length: { const SvgNumber aNumber(rSvgStyleAttributes.getBaselineShiftNumber()); - const double mfBaselineShift(aNumber.solve(*this, length)); + const double mfBaselineShift(aNumber.solve(*this)); aPosition.setY(aPosition.getY() + mfBaselineShift); break; @@ -526,7 +526,7 @@ namespace svgio { const localTextBreakupHelper alocalTextBreakupHelper(*pCandidate, rSvgTextPosition); const drawinglayer::primitive2d::Primitive2DSequence aResult( - alocalTextBreakupHelper.getResult(drawinglayer::primitive2d::BreakupUnit_character)); + alocalTextBreakupHelper.getResult()); if(aResult.hasElements()) { @@ -595,7 +595,7 @@ namespace svgio : mpParent(pParent), maX(), // computed below maY(), // computed below - maRotate(solveSvgNumberVector(rSvgTextPositions.getRotate(), rInfoProvider, length)), + maRotate(solveSvgNumberVector(rSvgTextPositions.getRotate(), rInfoProvider)), mfTextLength(0.0), maPosition(), // computed below mnRotationIndex(0), @@ -605,7 +605,7 @@ namespace svgio // get TextLength if provided if(rSvgTextPositions.getTextLength().isSet()) { - mfTextLength = rSvgTextPositions.getTextLength().solve(rInfoProvider, length); + mfTextLength = rSvgTextPositions.getTextLength().solve(rInfoProvider); } // SVG does not really define in which units a \91rotate\92 for Text/TSpan is given, |