diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-10-12 12:10:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-10-12 16:44:55 +0200 |
commit | f730f1d5db85845bb612f063e3b97d8c218e4d01 (patch) | |
tree | 975d0aeb8eebc28fc530daa305fab1db9585323d | |
parent | 345b5bc75883a5f4c3b8b6a5b70e45cacce0109e (diff) |
Fix typos
Change-Id: I678b545f2a266365fb700b3f75b3d939d28348d6
Reviewed-on: https://gerrit.libreoffice.org/61603
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | tools/source/datetime/tdate.cxx | 2 | ||||
-rw-r--r-- | 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 |