diff options
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; |