Fix typos

Change-Id: Ia01f85e87706b02ffb816b3385765e2729dafa02
Reviewed-on: https://gerrit.libreoffice.org/49585
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2018-02-10 01:32:52 +01:00 committed by Julien Nabet
parent 90a46122dc
commit 89202f2d76
2 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@ public:
rtl::Reference<XFContent> GetLastContent();
void RemoveLastContent();
/**
* @descr convience function for add text content.
* @descr convenience function for add text content.
*/
void Add(const OUString& text);

View file

@ -1589,7 +1589,7 @@ bool X11SalGraphicsImpl::drawPolyLine(
const SalColor aKeepBrushColor = mnBrushColor;
mnBrushColor = mnPenColor;
// #i11575#desc5#b adjust B2D tesselation result to raster positions
// #i11575#desc5#b adjust B2D tessellation result to raster positions
basegfx::B2DPolygon aPolygon = rPolygon;
const double fHalfWidth = 0.5 * rLineWidth.getX();
@ -1601,12 +1601,12 @@ bool X11SalGraphicsImpl::drawPolyLine(
bool bDrawnOk = true;
if( bIsHairline )
{
// hairlines can benefit from a simplified tesselation
// hairlines can benefit from a simplified tessellation
// e.g. for hairlines the linejoin style can be ignored
basegfx::B2DTrapezoidVector aB2DTrapVector;
basegfx::utils::createLineTrapezoidFromB2DPolygon( aB2DTrapVector, aPolygon, rLineWidth.getX() );
// draw tesselation result
// draw tessellation result
const int nTrapCount = aB2DTrapVector.size();
if( nTrapCount > 0 )
bDrawnOk = drawFilledTrapezoids( &aB2DTrapVector[0], nTrapCount, fTransparency );