Fix typos

Change-Id: I678b545f2a266365fb700b3f75b3d939d28348d6
Reviewed-on: https://gerrit.libreoffice.org/61603
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2018-10-12 12:10:10 +02:00 committed by Julien Nabet
parent 345b5bc758
commit f730f1d5db
2 changed files with 3 additions and 3 deletions

View file

@ -362,7 +362,7 @@ sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay,
// Saturday
else if ( n1WDay == nMinimumNumberOfDaysInWeek + 1 )
{
// Year after leapyear
// Year after leap year
if ( Date( 1, 1, GetPrevYear() ).IsLeapYear() )
nWeek = 53;
else

View file

@ -537,7 +537,7 @@ void OutputDevice::DrawComplexGradient( const tools::Rectangle& rRect,
ImplDrawPolygon( aPoly = aExtRect, pClixPolyPoly );
}
// loop to output Polygone/PolyPolygone sequentially
// loop to output Polygon/PolyPolygon sequentially
for( long i = 1; i < nSteps; i++ )
{
// calculate new Polygon
@ -866,7 +866,7 @@ void OutputDevice::DrawComplexGradientToMetafile( const tools::Rectangle& rRect,
xPolyPoly->Insert( aPoly = rRect );
xPolyPoly->Insert( aPoly );
// loop to output Polygone/PolyPolygone sequentially
// loop to output Polygon/PolyPolygon sequentially
for( long i = 1; i < nSteps; i++ )
{
// calculate new Polygon