From f730f1d5db85845bb612f063e3b97d8c218e4d01 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 12 Oct 2018 12:10:10 +0200 Subject: [PATCH] Fix typos Change-Id: I678b545f2a266365fb700b3f75b3d939d28348d6 Reviewed-on: https://gerrit.libreoffice.org/61603 Tested-by: Jenkins Reviewed-by: Julien Nabet --- tools/source/datetime/tdate.cxx | 2 +- vcl/source/outdev/gradient.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx index a5f26b912254..fde579b8b56a 100644 --- a/tools/source/datetime/tdate.cxx +++ b/tools/source/datetime/tdate.cxx @@ -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 diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx index 2b2eff84978d..bb2cd50f4fe3 100644 --- a/vcl/source/outdev/gradient.cxx +++ b/vcl/source/outdev/gradient.cxx @@ -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