From 078fa7c00fc61e698a54898e25bec7e3ca447243 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 22 Aug 2020 19:29:10 +0200 Subject: Fix typo in code Change-Id: I686feb0d40d7a426226ab9fd547b7ad7c9932e01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101209 Tested-by: Jenkins Reviewed-by: Julien Nabet --- svx/source/svdraw/svdocirc.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx') 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) { -- cgit