diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-04-26 17:44:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-04-28 17:34:07 +0200 |
commit | 3af0dfad72a7290131e542eda78fab76a1dfbfe2 (patch) | |
tree | 4ea3c6efbd94ddb2bcd9ddb4096b31a48a6f6e33 /chart2 | |
parent | f6b828275af11f8b04a52a9ad5f44e210d4fec0b (diff) |
Fix typo in code
Change-Id: I4f882e7eaedb5aea1353faaa7e0797b257816a8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92937
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/BubbleChart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |