From 7b3a0b7ea0f5ad2745cc7e15945150fcbc9e7c5a Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 22 May 2017 18:52:08 +0200 Subject: oox: these getShape() functions can be const Change-Id: Ib0ecffa05b417072c463081691b553d04cf39c9e Reviewed-on: https://gerrit.libreoffice.org/37914 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- oox/source/shape/LockedCanvasContext.hxx | 2 +- oox/source/shape/WpgContext.hxx | 2 +- oox/source/shape/WpsContext.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'oox/source/shape') diff --git a/oox/source/shape/LockedCanvasContext.hxx b/oox/source/shape/LockedCanvasContext.hxx index e22c46a1ed4c..6817008e9a89 100644 --- a/oox/source/shape/LockedCanvasContext.hxx +++ b/oox/source/shape/LockedCanvasContext.hxx @@ -27,7 +27,7 @@ public: oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) override; - const oox::drawingml::ShapePtr& getShape() + const oox::drawingml::ShapePtr& getShape() const { return mpShape; } diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx index 29dd97db151b..f313a7f9b3ff 100644 --- a/oox/source/shape/WpgContext.hxx +++ b/oox/source/shape/WpgContext.hxx @@ -27,7 +27,7 @@ public: oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) override; - const oox::drawingml::ShapePtr& getShape() + const oox::drawingml::ShapePtr& getShape() const { return mpShape; } diff --git a/oox/source/shape/WpsContext.hxx b/oox/source/shape/WpsContext.hxx index 1c2b662aa3ae..cc9af2160cdc 100644 --- a/oox/source/shape/WpsContext.hxx +++ b/oox/source/shape/WpsContext.hxx @@ -27,7 +27,7 @@ public: oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) override; - const oox::drawingml::ShapePtr& getShape() + const oox::drawingml::ShapePtr& getShape() const { return mpShape; } -- cgit