drawinglayer/source/attribute/fillgradientattribute.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7e1a4a518ef6a8a32f4acf4fe3cc634c3573f778 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sun Feb 12 12:40:01 2023 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Feb 12 21:27:13 2023 +0000 Fix typos Change-Id: I7c755b2099c3607fece3442269ff3a806b196f1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146836 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 3d13c4050670..32edd39340fe 100644 --- a/drawinglayer/source/attribute/fillgradientattribute.cxx +++ b/drawinglayer/source/attribute/fillgradientattribute.cxx @@ -51,7 +51,7 @@ namespace drawinglayer::attribute meStyle(eStyle), mnSteps(nSteps) { - // always add start color to guarentee a color at all. It's also just safer + // always add start color to guarantee a color at all. It's also just safer // to have one and not an empty vector, that spares many checks in the using code maColorSteps.emplace_back(0.0, rStartColor); @@ -61,7 +61,7 @@ namespace drawinglayer::attribute for(const auto& candidate : *pColorSteps) { // only allow ]0.0 .. 1.0[ as offset values, *excluding* 0.0 and 1.0 - // explicitely - these are reserved for start/end color + // explicitly - these are reserved for start/end color if(basegfx::fTools::more(candidate.getOffset(), 0.0) && basegfx::fTools::less(candidate.getOffset(), 1.0)) { // ignore same offsets, independent from color (so 1st one wins)