summaryrefslogtreecommitdiff
path: root/xmloff/source/chart
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 11:45:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 13:13:06 +0200
commitd2848c44ec0f9b04a0f9b24653ef0273ae7ace97 (patch)
treed3bcb226d2733362312e6b6fe804b7a2d1f166a7 /xmloff/source/chart
parent815afb06b78b8fbf83f6a48b89500fb34dc4b40b (diff)
loplugin:constmethod in xmloff
Change-Id: I79ff1001a3ac8fde10de1ab391772e2bfeb6a314 Reviewed-on: https://gerrit.libreoffice.org/78546 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx2
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.hxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx2
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.cxx4
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.hxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 881fa4d274fb..2af9b89b3ffb 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -137,7 +137,7 @@ static Reference< chart::XAxis > lcl_getChartAxis(const SchXMLAxis& rCurrentAxis
/* returns a shape for the current axis's title. The property
"Has...AxisTitle" is set to "True" to get the shape
*/
-Reference< drawing::XShape > SchXMLAxisContext::getTitleShape()
+Reference< drawing::XShape > SchXMLAxisContext::getTitleShape() const
{
Reference< drawing::XShape > xResult;
Reference< beans::XPropertySet > xDiaProp( m_rImportHelper.GetChartDocument()->getDiagram(), uno::UNO_QUERY );
diff --git a/xmloff/source/chart/SchXMLAxisContext.hxx b/xmloff/source/chart/SchXMLAxisContext.hxx
index a629c91b3a5d..e553f6e0a95b 100644
--- a/xmloff/source/chart/SchXMLAxisContext.hxx
+++ b/xmloff/source/chart/SchXMLAxisContext.hxx
@@ -66,7 +66,7 @@ private:
bool const m_bAdaptXAxisOrientationForOld2DBarCharts; //to correct different behaviour from older versions
bool& m_rbAxisPositionAttributeImported;
- css::uno::Reference< css::drawing::XShape > getTitleShape();
+ css::uno::Reference< css::drawing::XShape > getTitleShape() const;
void CreateGrid( const OUString& sAutoStyleName, bool bIsMajor );
void CreateAxis();
void SetAxisTitle();
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 2157955521ce..599d51a69d4f 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -951,7 +951,7 @@ SchXMLExportHelper::~SchXMLExportHelper()
{
}
-const OUString& SchXMLExportHelper::getChartCLSID()
+const OUString& SchXMLExportHelper::getChartCLSID() const
{
return m_pImpl->msCLSID;
}
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx
index b7ca64652410..0640bc98881f 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.cxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.cxx
@@ -784,7 +784,7 @@ void SchXMLSeries2Context::setStylesToSeries( SeriesDefaultsAndStyles& rSeriesDe
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, OUString& rCurrStyleName
- , SchXMLImportHelper& rImportHelper
+ , const SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart
, tSchXMLLSequencesPerIndex & rInOutLSequencesPerIndex )
@@ -1008,7 +1008,7 @@ void SchXMLSeries2Context::setStylesToDataPoints( SeriesDefaultsAndStyles& rSeri
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, OUString& rCurrStyleName
- , SchXMLImportHelper& rImportHelper
+ , const SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart, bool bIsDonutChart, bool bSwitchOffLinesForScatter )
{
diff --git a/xmloff/source/chart/SchXMLSeries2Context.hxx b/xmloff/source/chart/SchXMLSeries2Context.hxx
index d7ce56f4ec38..effb996a1217 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.hxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.hxx
@@ -101,7 +101,7 @@ public:
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, OUString& rCurrStyleName
- , SchXMLImportHelper& rImportHelper
+ , const SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart
, tSchXMLLSequencesPerIndex & rInOutLSequencesPerIndex );
@@ -121,7 +121,7 @@ public:
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, OUString& rCurrStyleName
- , SchXMLImportHelper& rImportHelper
+ , const SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart, bool bIsDonutChart, bool bSwitchOffLinesForScatter );