summaryrefslogtreecommitdiff
path: root/chart2/source/view/charttypes/BubbleChart.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/charttypes/BubbleChart.cxx')
-rw-r--r--chart2/source/view/charttypes/BubbleChart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx
index 5bb940aa7dc4..6adbe3b51649 100644
--- a/chart2/source/view/charttypes/BubbleChart.cxx
+++ b/chart2/source/view/charttypes/BubbleChart.cxx
@@ -372,7 +372,7 @@ void BubbleChart::createShapes()
awt::Point aScreenPosition2D( LabelPositionHelper(m_nDimension,m_xLogicTarget,m_pShapeFactory)
.transformSceneToScreenPosition( aScenePosition3D ) );
sal_Int32 nOffset = 0;
- if(LABEL_ALIGN_CENTER!=eAlignment)
+ if(eAlignment!=LABEL_ALIGN_CENTER)
nOffset = 100;//add some spacing //@todo maybe get more intelligent values
createDataLabel( xTextTarget, **aSeriesIter, nIndex
, fBubbleSize, fBubbleSize, aScreenPosition2D, eAlignment, nOffset );