From 2ac309188820036b1b99f983e8b793445e9b2ab2 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 13:09:02 +0200 Subject: loplugin:const* make some params and methods const Change-Id: Idec482c21c270912f9bcaeb980077c1616f67c8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104022 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/source/drawingml/diagram/diagram.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/drawingml/diagram/diagram.hxx b/oox/source/drawingml/diagram/diagram.hxx index 25fa10ed0635..1bd6dd9f7df9 100644 --- a/oox/source/drawingml/diagram/diagram.hxx +++ b/oox/source/drawingml/diagram/diagram.hxx @@ -149,7 +149,7 @@ public: void addTo( const ShapePtr & pShape ); css::uno::Sequence getDomsAsPropertyValues() const; - ShapePtr getShape() { return mpShape; } + ShapePtr getShape() const { return mpShape; } private: ShapePtr mpShape; -- cgit