[Libreoffice-commits] core.git: oox/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon May 22 18:30:17 UTC 2017
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(-)
New commits:
commit 7b3a0b7ea0f5ad2745cc7e15945150fcbc9e7c5a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon May 22 18:52:08 2017 +0200
oox: these getShape() functions can be const
Change-Id: Ib0ecffa05b417072c463081691b553d04cf39c9e
Reviewed-on: https://gerrit.libreoffice.org/37914
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
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;
}
More information about the Libreoffice-commits
mailing list