diff options
-rw-r--r-- | chart2/source/view/charttypes/BubbleChart.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index 2f8f9c7dc8dd..df523dd9226d 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -130,10 +130,8 @@ drawing::Direction3D BubbleChart::transformToScreenBubbleSize( double fLogicSize double fMaxSize = m_fMaxLogicBubbleSize; - double fMaxRadius = fMaxSize; - double fRaduis = fLogicSize; - fMaxRadius = sqrt( fMaxSize / F_PI ); - fRaduis = sqrt( fLogicSize / F_PI ); + double fMaxRadius = sqrt( fMaxSize / F_PI ); + double fRaduis = sqrt( fLogicSize / F_PI ); aRet.DirectionX = m_fBubbleSizeScaling * m_fBubbleSizeFactorToScreen * fRaduis / fMaxRadius; aRet.DirectionY = aRet.DirectionX; |