diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 21:53:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 10:05:39 +0100 |
commit | 69b5f0b6579c6574a8fe68ab2a64208ec767db55 (patch) | |
tree | 1fafea3a72e113d0a915a1f79a2f4b3406d695a0 /oox/source/export/shapes.cxx | |
parent | 4015b22dbc10bc246a3ef704d8b75e8f8cdca519 (diff) |
loplugin:constparams
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/export/shapes.cxx')
-rw-r--r-- | oox/source/export/shapes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 2617e3c76d1b..a061d1306f99 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -611,7 +611,7 @@ static bool lcl_IsOnAllowlist(OUString const & rShapeType) return std::find(vAllowlist.begin(), vAllowlist.end(), rShapeType) != vAllowlist.end(); } -static bool lcl_GetHandlePosition( sal_Int32 &nValue, const EnhancedCustomShapeParameter &rParam, Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq) +static bool lcl_GetHandlePosition( sal_Int32 &nValue, const EnhancedCustomShapeParameter &rParam, const Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq) { bool bAdj = false; if ( rParam.Value.getValueTypeClass() == TypeClass_DOUBLE ) @@ -647,7 +647,7 @@ static bool lcl_GetHandlePosition( sal_Int32 &nValue, const EnhancedCustomShapeP static void lcl_AnalyzeHandles( const uno::Sequence<beans::PropertyValues> & rHandles, std::vector< std::pair< sal_Int32, sal_Int32> > &rHandlePositionList, - Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq) + const Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq) { for ( const Sequence< PropertyValue >& rPropSeq : rHandles ) { |