summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VCartesianAxis.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-20 18:35:17 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-04 12:30:34 -0500
commit567208da4e3155e701e083567a99bad33d7cab6a (patch)
tree6ec05158d3c564b4eb3e6fb42d565f9b509540a7 /chart2/source/view/axes/VCartesianAxis.cxx
parent8bfc9a20ccea2689fec1ffe0654db1f95179bd4f (diff)
Mark these methods const.
Change-Id: Idf53b85d962406caf9ca1df636fffd8b3459baf5
Diffstat (limited to 'chart2/source/view/axes/VCartesianAxis.cxx')
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index be13e64f5f29..e40c43392c33 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -428,8 +428,8 @@ TickInfo* MaxLabelTickIter::nextInfo()
return 0;
}
-bool VCartesianAxis::isBreakOfLabelsAllowed( const AxisLabelProperties& rAxisLabelProperties
- , bool bIsHorizontalAxis )
+bool VCartesianAxis::isBreakOfLabelsAllowed(
+ const AxisLabelProperties& rAxisLabelProperties, bool bIsHorizontalAxis ) const
{
if( m_aTextLabels.getLength() > 100 )
return false;
@@ -446,8 +446,8 @@ bool VCartesianAxis::isBreakOfLabelsAllowed( const AxisLabelProperties& rAxisLab
return bIsHorizontalAxis;
}
-bool VCartesianAxis::isAutoStaggeringOfLabelsAllowed( const AxisLabelProperties& rAxisLabelProperties
- , bool bIsHorizontalAxis, bool bIsVerticalAxis )
+bool VCartesianAxis::isAutoStaggeringOfLabelsAllowed(
+ const AxisLabelProperties& rAxisLabelProperties, bool bIsHorizontalAxis, bool bIsVerticalAxis ) const
{
if( rAxisLabelProperties.eStaggering != STAGGER_AUTO )
return false;