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

New commits:
commit 3af0dfad72a7290131e542eda78fab76a1dfbfe2
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Sun Apr 26 17:44:30 2020 +0200
Commit:     Julien Nabet <serval2...@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 <serval2...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to