diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 12:04:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 13:23:25 +0200 |
commit | 620d032b1807477ef1e2b547ce772c284aa0da50 (patch) | |
tree | 92abc1d89840f27dae0dfb27269688fba197ae3b /chart2/source/view/axes/VCartesianAxis.cxx | |
parent | simplify unusedfields plugin (diff) | |
download | core-620d032b1807477ef1e2b547ce772c284aa0da50.tar.gz core-620d032b1807477ef1e2b547ce772c284aa0da50.zip |
loplugin:constparams in chart2
Change-Id: Ic325b79f04e04aa19e08a60db30b982d90f04c80
Reviewed-on: https://gerrit.libreoffice.org/40480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/axes/VCartesianAxis.cxx')
-rw-r--r-- | chart2/source/view/axes/VCartesianAxis.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 6b355b3734b4..63d50e40e172 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -666,7 +666,7 @@ sal_Int32 VCartesianAxis::getTextLevelCount() const bool VCartesianAxis::createTextShapes( const Reference<drawing::XShapes>& xTarget, TickIter& rTickIter, - AxisLabelProperties& rAxisLabelProperties, TickFactory2D* pTickFactory, + AxisLabelProperties& rAxisLabelProperties, TickFactory2D const * pTickFactory, sal_Int32 nScreenDistanceBetweenTicks ) { const bool bIsHorizontalAxis = pTickFactory->isHorizontalAxis(); @@ -881,7 +881,7 @@ bool VCartesianAxis::createTextShapes( bool VCartesianAxis::createTextShapesSimple( const Reference<drawing::XShapes>& xTarget, TickIter& rTickIter, - AxisLabelProperties& rAxisLabelProperties, TickFactory2D* pTickFactory ) + AxisLabelProperties& rAxisLabelProperties, TickFactory2D const * pTickFactory ) { FixedNumberFormatter aFixedNumberFormatter( m_xNumberFormatsSupplier, rAxisLabelProperties.nNumberFormatKey ); @@ -1511,7 +1511,7 @@ sal_Int32 VCartesianAxis::estimateMaximumAutoMainIncrementCount() return nRet; } -void VCartesianAxis::doStaggeringOfLabels( const AxisLabelProperties& rAxisLabelProperties, TickFactory2D* pTickFactory2D ) +void VCartesianAxis::doStaggeringOfLabels( const AxisLabelProperties& rAxisLabelProperties, TickFactory2D const * pTickFactory2D ) { if( !pTickFactory2D ) return; @@ -1716,7 +1716,7 @@ void VCartesianAxis::updatePositions() doStaggeringOfLabels( m_aAxisLabelProperties, pTickFactory2D ); } -void VCartesianAxis::createTickMarkLineShapes( TickInfoArrayType& rTickInfos, const TickmarkProperties& rTickmarkProperties, TickFactory2D& rTickFactory2D, bool bOnlyAtLabels ) +void VCartesianAxis::createTickMarkLineShapes( TickInfoArrayType& rTickInfos, const TickmarkProperties& rTickmarkProperties, TickFactory2D const & rTickFactory2D, bool bOnlyAtLabels ) { sal_Int32 nPointCount = rTickInfos.size(); drawing::PointSequenceSequence aPoints(2*nPointCount); |