[Libreoffice-commits] core.git: svx/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 10:38:49 UTC 2020


 svx/source/svdraw/svdocirc.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 078fa7c00fc61e698a54898e25bec7e3ca447243
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 19:29:10 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 12:38:09 2020 +0200

    Fix typo in code
    
    Change-Id: I686feb0d40d7a426226ab9fd547b7ad7c9932e01
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101209
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

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)
         {


More information about the Libreoffice-commits mailing list