summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-04 16:07:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-05 08:26:56 +0200
commitf8f606297d53eb216ff0c3c269de40058513e0a5 (patch)
treee1acc5482082d74016567a16cfc7a94763734c80 /chart2/source/controller/chartapiwrapper
parent0f3fb26e7622f99560c6514f4b3ae663636025c9 (diff)
loplugin:constmethod in chart2
Change-Id: Ib97571b3750bd832d0d69a1530e6c8589134c633 Reviewed-on: https://gerrit.libreoffice.org/78601 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/chartapiwrapper')
-rw-r--r--chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx2
-rw-r--r--chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx2
-rw-r--r--chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
index c25f2467ea33..00f7bd590fd0 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
@@ -121,7 +121,7 @@ ExplicitValueProvider* Chart2ModelContact::getExplicitValueProvider() const
return pProvider;
}
-uno::Reference< drawing::XDrawPage > Chart2ModelContact::getDrawPage()
+uno::Reference< drawing::XDrawPage > Chart2ModelContact::getDrawPage() const
{
uno::Reference< drawing::XDrawPage > xResult;
ExplicitValueProvider* pProvider( getExplicitValueProvider() );
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
index 8dd51ad29f00..c9651cbf3d34 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -65,7 +65,7 @@ public:
css::uno::Reference< css::chart2::XChartDocument > getChart2Document() const;
css::uno::Reference< css::chart2::XDiagram > getChart2Diagram() const;
- css::uno::Reference< css::drawing::XDrawPage > getDrawPage();
+ css::uno::Reference< css::drawing::XDrawPage > getDrawPage() const;
/** get the current values calculated for an axis in the current view in
case properties are 'auto'.
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
index f74321d69c23..e8eed08a0438 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
@@ -68,7 +68,7 @@ public:
virtual ~DataSeriesPointWrapper() override;
bool isSupportingAreaProperties();
- bool isLinesForbidden() { return !m_bLinesAllowed;}
+ bool isLinesForbidden() const { return !m_bLinesAllowed;}
/// XServiceInfo declarations
virtual OUString SAL_CALL getImplementationName() override;