diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2023-02-12 12:40:01 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-02-12 21:27:13 +0000 |
commit | 7e1a4a518ef6a8a32f4acf4fe3cc634c3573f778 (patch) | |
tree | 589badad7657b0c48616c619d76e31e6081138b3 /drawinglayer/source/attribute | |
parent | 4cea7d8f5645cc8c8b7deb78a1bcc0c925f4bb7d (diff) |
Fix typos
Change-Id: I7c755b2099c3607fece3442269ff3a806b196f1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146836
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'drawinglayer/source/attribute')
-rw-r--r-- | drawinglayer/source/attribute/fillgradientattribute.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) |