summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/PolarLabelPositionHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-27 11:14:38 +0200
committerNoel Grandin <noel@peralex.com>2016-03-14 13:43:38 +0200
commit8353667d35bc511378c9b14261b6bb11b7bd56aa (patch)
treea065c941301f2b693445958046360b27a651d439 /chart2/source/view/main/PolarLabelPositionHelper.cxx
parent6c47de46613b531bd975d073cf31c3fda6f8b8da (diff)
com::sun::star->css in chart2
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
Diffstat (limited to 'chart2/source/view/main/PolarLabelPositionHelper.cxx')
-rw-r--r--chart2/source/view/main/PolarLabelPositionHelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/view/main/PolarLabelPositionHelper.cxx b/chart2/source/view/main/PolarLabelPositionHelper.cxx
index eefa3390b4ec..809620bb8f42 100644
--- a/chart2/source/view/main/PolarLabelPositionHelper.cxx
+++ b/chart2/source/view/main/PolarLabelPositionHelper.cxx
@@ -55,7 +55,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForLogicV
double fUnitCircleRadius = m_pPosHelper->transformToRadius( fLogicValueOnRadiusAxis );
return getLabelScreenPositionAndAlignmentForUnitCircleValues(
- rAlignment, ::com::sun::star::chart::DataLabelPlacement::OUTSIDE
+ rAlignment, css::chart::DataLabelPlacement::OUTSIDE
, fUnitCircleAngleDegree, 0.0
, fUnitCircleRadius, fUnitCircleRadius, fLogicZ, nScreenValueOffsetInRadiusDirection );
}
@@ -67,8 +67,8 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
, double fLogicZ
, sal_Int32 nScreenValueOffsetInRadiusDirection ) const
{
- bool bCenter = (nLabelPlacement != ::com::sun::star::chart::DataLabelPlacement::OUTSIDE)
- && (nLabelPlacement != ::com::sun::star::chart::DataLabelPlacement::INSIDE);
+ bool bCenter = (nLabelPlacement != css::chart::DataLabelPlacement::OUTSIDE)
+ && (nLabelPlacement != css::chart::DataLabelPlacement::INSIDE);
double fAngleDegree = fUnitCircleStartAngleDegree + fUnitCircleWidthAngleDegree/2.0;
double fRadius = 0.0;
@@ -80,7 +80,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
awt::Point aRet( this->transformSceneToScreenPosition(
m_pPosHelper->transformUnitCircleToScene( fAngleDegree, fRadius, fLogicZ+0.5 ) ) );
- if(3==m_nDimensionCount && nLabelPlacement == ::com::sun::star::chart::DataLabelPlacement::OUTSIDE)
+ if(3==m_nDimensionCount && nLabelPlacement == css::chart::DataLabelPlacement::OUTSIDE)
{
//check whether the upper or the downer edge is more distant from the center
//take the farest point to put the label to
@@ -127,7 +127,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
while(fAngleDegree<0.0)
fAngleDegree+=360.0;
- bool bOutside = nLabelPlacement == ::com::sun::star::chart::DataLabelPlacement::OUTSIDE;
+ bool bOutside = nLabelPlacement == css::chart::DataLabelPlacement::OUTSIDE;
if(fAngleDegree==0.0)
rAlignment = LABEL_ALIGN_CENTER;