diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-22 19:29:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-23 12:38:09 +0200 |
commit | 078fa7c00fc61e698a54898e25bec7e3ca447243 (patch) | |
tree | d75bfc91744747b0c0a7ca612a5dc2ac34005521 /svx | |
parent | b2db71558c9c8ff5227c28f866e2c1657d6d64fb (diff) |
Fix typo in code
Change-Id: I686feb0d40d7a426226ab9fd547b7ad7c9932e01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101209
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 897b557077f0..3b46192aec35 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -230,12 +230,12 @@ bool SdrCircObj::PaintNeedsXPolyCirc() const return bNeed; } -basegfx::B2DPolygon SdrCircObj::ImpCalcXPolyCirc(const SdrCircKind eCicrleKind, const tools::Rectangle& rRect1, long nStart, long nEnd) const +basegfx::B2DPolygon SdrCircObj::ImpCalcXPolyCirc(const SdrCircKind eCircleKind, const tools::Rectangle& rRect1, long nStart, long nEnd) const { const basegfx::B2DRange aRange = vcl::unotools::b2DRectangleFromRectangle(rRect1); basegfx::B2DPolygon aCircPolygon; - if(SdrCircKind::Full == eCicrleKind) + if(SdrCircKind::Full == eCircleKind) { // create full circle. Do not use createPolygonFromEllipse; it's necessary // to get the start point to the bottom of the circle to keep compatible to @@ -263,8 +263,8 @@ basegfx::B2DPolygon SdrCircObj::ImpCalcXPolyCirc(const SdrCircKind eCicrleKind, fStart, fEnd); // check closing states - const bool bCloseSegment(SdrCircKind::Arc != eCicrleKind); - const bool bCloseUsingCenter(SdrCircKind::Section == eCicrleKind); + const bool bCloseSegment(SdrCircKind::Arc != eCircleKind); + const bool bCloseUsingCenter(SdrCircKind::Section == eCircleKind); if(bCloseSegment) { |