[Libreoffice-commits] core.git: tools/source vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 12 14:45:21 UTC 2018
tools/source/datetime/tdate.cxx | 2 +-
vcl/source/outdev/gradient.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit f730f1d5db85845bb612f063e3b97d8c218e4d01
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Oct 12 12:10:10 2018 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Oct 12 16:44:55 2018 +0200
Fix typos
Change-Id: I678b545f2a266365fb700b3f75b3d939d28348d6
Reviewed-on: https://gerrit.libreoffice.org/61603
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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
More information about the Libreoffice-commits
mailing list