drawinglayer/source/primitive2d/borderlineprimitive2d.cxx | 2 +- drawinglayer/source/tools/emfphelperdata.cxx | 2 +- include/canvas/base/canvascustomspritebase.hxx | 2 +- tools/qa/cppunit/test_fract.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 894115b5739b48fc241f8cd5f9f7a1830161a22d Author: Andrea Gelmini <[email protected]> Date: Fri Sep 15 18:51:23 2017 +0200 Fix typos Change-Id: I78653129638b25f16e0816b6fff11e02100c85e7 Reviewed-on: https://gerrit.libreoffice.org/42321 Reviewed-by: Adolfo Jayme Barrientos <[email protected]> Tested-by: Adolfo Jayme Barrientos <[email protected]> diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx index 0b6dda423adf..168c7f8e87d1 100644 --- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx @@ -190,7 +190,7 @@ namespace drawinglayer // with stroke, we have a problem - a filled polygon would lose the // stroke. Let's represent the start and/or end as triangles, the main // line still as PolygonStrokePrimitive2D. - // Fill default line Start/End for stroke, so we need no adaptions in else pathes + // Fill default line Start/End for stroke, so we need no adaptions in else paths basegfx::B2DPoint aStrokeStart(aStart - (aVector * candidate.getStartLeft())); basegfx::B2DPoint aStrokeEnd(aEnd + (aVector * candidate.getEndLeft())); const basegfx::B2DVector aHalfLineOffset(aPerpendicular * (candidate.getLineAttribute().getWidth() * 0.5)); diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx index 2b8ecbb6b22e..3208ed82ed32 100644 --- a/drawinglayer/source/tools/emfphelperdata.cxx +++ b/drawinglayer/source/tools/emfphelperdata.cxx @@ -419,7 +419,7 @@ namespace emfplushelper lineJoin, lineCap); - if (pen->penDataFlags & 0x00000020 && pen->dashStyle != EmfPlusLineStyleCustom) // pen has a predifined line style + if (pen->penDataFlags & 0x00000020 && pen->dashStyle != EmfPlusLineStyleCustom) // pen has a predefined line style { // taken from the old cppcanvas implementation const std::vector<double> dash = { 3, 3 }; diff --git a/include/canvas/base/canvascustomspritebase.hxx b/include/canvas/base/canvascustomspritebase.hxx index 470c3d8e2df5..1ad63f6f8ca5 100644 --- a/include/canvas/base/canvascustomspritebase.hxx +++ b/include/canvas/base/canvascustomspritebase.hxx @@ -134,7 +134,7 @@ namespace canvas // TODO(F3): If somebody uses the XIntegerBitmap methods to // clear pixel (setting alpha != 1.0 there), or a compositing // mode results in similar alpha, maSpriteHelper might - // errorneously report fully opaque sprites. Effectively, all + // erroneously report fully opaque sprites. Effectively, all // render methods must be overridden here; or better, // functionality provided at the baseclass. diff --git a/tools/qa/cppunit/test_fract.cxx b/tools/qa/cppunit/test_fract.cxx index 12977b5635f8..83794340ed51 100644 --- a/tools/qa/cppunit/test_fract.cxx +++ b/tools/qa/cppunit/test_fract.cxx @@ -49,7 +49,7 @@ public: aFract3.GetNumerator() == 0x7AAAAAAA && aFract3.GetDenominator() == 0x35555555 ); aFract3.ReduceInaccurate(30); - CPPUNIT_ASSERT_MESSAGE( "Fraction #3 ReduceInaccurate errorneously cut precision", + CPPUNIT_ASSERT_MESSAGE( "Fraction #3 ReduceInaccurate erroneously cut precision", aFract3.GetNumerator() == 0x7AAAAAAA && aFract3.GetDenominator() == 0x35555555 ); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
