drawinglayer/source/attribute/fillgradientattribute.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 894b1a8b226e562a7aa38032cf56b1600f011805 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Wed Feb 22 14:39:59 2023 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Wed Feb 22 14:04:03 2023 +0000 Fix typo Change-Id: Ibb51b7ea2a404156459fb7454e5260d0375fc842 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147472 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/drawinglayer/source/attribute/fillgradientattribute.cxx b/drawinglayer/source/attribute/fillgradientattribute.cxx index 2056d58acf7f..07bc82e4e549 100644 --- a/drawinglayer/source/attribute/fillgradientattribute.cxx +++ b/drawinglayer/source/attribute/fillgradientattribute.cxx @@ -70,7 +70,7 @@ namespace drawinglayer::attribute // use two r/w heads on the data band maColorSteps size_t curr(0), next(1); - // during procesing, check if all colors are the same. We know the + // during processing, check if all colors are the same. We know the // StartColor, so to all be the same, all also have to be equal to // StartColor (including EndColor, use to initialize) bool bAllTheSameColor(rStartColor == rEndColor); @@ -86,14 +86,14 @@ namespace drawinglayer::attribute // check for < 0.0 (should not really happen, see ::ColorStep) // also check for == 0.0 which would mean than an implicit // StartColor was given in ColorSteps - ignore that, we want - // the explicitely given StartColor to always win + // the explicitly given StartColor to always win if(basegfx::fTools::lessOrEqual(fNextOffset, 0.0)) continue; // check for > 1.0 (should not really happen, see ::ColorStep) // also check for == 1.0 which would mean than an implicit // EndColor was given in ColorSteps - ignore that, we want - // the explicitely given EndColor to always win + // the explicitly given EndColor to always win if(basegfx::fTools::moreOrEqual(fNextOffset, 1.0)) continue;