diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/PieChart.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/charttypes/PieChart.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 184d824ce919..aac461c914d5 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -1578,7 +1578,7 @@ bool PieChart::performLabelBestFitInnerPlacement(ShapeParam& rShapeParam, PieLab * First off the routine try to place the label inside the related pie slice, * if this is not possible the label is placed outside. */ -void PieChart::performLabelBestFit(ShapeParam& rShapeParam, PieLabelInfo& rPieLabelInfo) +void PieChart::performLabelBestFit(ShapeParam& rShapeParam, PieLabelInfo const & rPieLabelInfo) { if( m_bUseRings ) return; diff --git a/chart2/source/view/charttypes/PieChart.hxx b/chart2/source/view/charttypes/PieChart.hxx index d49e20da575f..efe5bfd80d02 100644 --- a/chart2/source/view/charttypes/PieChart.hxx +++ b/chart2/source/view/charttypes/PieChart.hxx @@ -107,7 +107,7 @@ struct PieLabelInfo; , const css::awt::Size& rPageSize ); bool performLabelBestFitInnerPlacement(ShapeParam& rShapeParam, PieLabelInfo const & rPieLabelInfo); - void performLabelBestFit(ShapeParam& rShapeParam, PieLabelInfo& rPieLabelInfo); + void performLabelBestFit(ShapeParam& rShapeParam, PieLabelInfo const & rPieLabelInfo); private: //member std::unique_ptr<PiePositionHelper> |