summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-05-22 18:52:08 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-05-22 20:29:52 +0200
commit7b3a0b7ea0f5ad2745cc7e15945150fcbc9e7c5a (patch)
tree0cefe252f0221ab179d02a0f5db0843c2487da22 /oox
parent63e801a60478117846e57e98d7b316d9fe711d9a (diff)
oox: these getShape() functions can be const
Change-Id: Ib0ecffa05b417072c463081691b553d04cf39c9e Reviewed-on: https://gerrit.libreoffice.org/37914 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/shape/LockedCanvasContext.hxx2
-rw-r--r--oox/source/shape/WpgContext.hxx2
-rw-r--r--oox/source/shape/WpsContext.hxx2
3 files changed, 3 insertions, 3 deletions
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;
}