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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 28 15:34:48 UTC 2020


 chart2/source/view/charttypes/BubbleChart.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3af0dfad72a7290131e542eda78fab76a1dfbfe2
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Apr 26 17:44:30 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Apr 28 17:34:07 2020 +0200

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

diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx
index 395814c576fb..9ad349b9f455 100644
--- a/chart2/source/view/charttypes/BubbleChart.cxx
+++ b/chart2/source/view/charttypes/BubbleChart.cxx
@@ -108,9 +108,9 @@ drawing::Direction3D BubbleChart::transformToScreenBubbleSize( double fLogicSize
     double fMaxSize = m_fMaxLogicBubbleSize;
 
     double fMaxRadius = sqrt( fMaxSize / F_PI );
-    double fRaduis = sqrt( fLogicSize / F_PI );
+    double fRadius = sqrt( fLogicSize / F_PI );
 
-    aRet.DirectionX = m_fBubbleSizeFactorToScreen * fRaduis / fMaxRadius;
+    aRet.DirectionX = m_fBubbleSizeFactorToScreen * fRadius / fMaxRadius;
     aRet.DirectionY = aRet.DirectionX;
 
     return aRet;


More information about the Libreoffice-commits mailing list