Kaydet (Commit) 894115b5 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Adolfo Jayme Barrientos

Fix typos

Change-Id: I78653129638b25f16e0816b6fff11e02100c85e7
Reviewed-on: https://gerrit.libreoffice.org/42321Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst b12e9ec1
......@@ -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));
......
......@@ -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 };
......
......@@ -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.
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment