diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-19 14:20:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-19 15:28:33 +0200 |
commit | 0f44815ce7b2925189cd603853ce55d8363549dd (patch) | |
tree | 87702a1d0f50a8b550ee1b4b9b84ddef60b46ee7 /oox | |
parent | 9239b11cee9f02cedcb0c240637e58cc8b795086 (diff) |
loplugin:constmethods
Change-Id: I786096b989daa6004a6527aafbe825b6f0a22d90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120710
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/DMLPresetShapeExport.cxx | 8 | ||||
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/export/DMLPresetShapeExport.cxx b/oox/source/export/DMLPresetShapeExport.cxx index b3c405f2f31e..318ce11207d9 100644 --- a/oox/source/export/DMLPresetShapeExport.cxx +++ b/oox/source/export/DMLPresetShapeExport.cxx @@ -93,18 +93,18 @@ DMLPresetShapeExporter::~DMLPresetShapeExporter(){ // Do nothing }; -bool DMLPresetShapeExporter::HasHandleValue() { return m_bHasHandleValues; } +bool DMLPresetShapeExporter::HasHandleValue() const { return m_bHasHandleValues; } -const OUString& DMLPresetShapeExporter::GetShapeType() { return m_sPresetShapeType; } +const OUString& DMLPresetShapeExporter::GetShapeType() const { return m_sPresetShapeType; } const css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>>& -DMLPresetShapeExporter::GetHandleValues() +DMLPresetShapeExporter::GetHandleValues() const { return m_HandleValues; }; const css::uno::Sequence<css::drawing::EnhancedCustomShapeAdjustmentValue>& -DMLPresetShapeExporter::GetAdjustmentValues() +DMLPresetShapeExporter::GetAdjustmentValues() const { return m_AdjustmentValues; }; diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 066d49d00f60..5404cc82fe81 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -531,7 +531,7 @@ void ShapeContextHandler::setRelationFragmentPath(const OUString & the_value) msRelationFragmentPath = the_value; } -sal_Int32 ShapeContextHandler::getStartToken() +sal_Int32 ShapeContextHandler::getStartToken() const { return mnStartToken; } |