diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-20 08:14:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-20 16:43:56 +0100 |
commit | dfe21d378722e90218f2b97cea5c7a449d00b48c (patch) | |
tree | 65cd6e8ce78ef12b48d84926c0d20239599f6c03 /oox/source/shape | |
parent | 76c2a523c6ab19bdaed2b4ad068348b9376d9c59 (diff) |
loplugin:constparam in oox
Change-Id: Iadec18cc82fd3fa8fb129698be92fed4ec2fbb1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183144
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'oox/source/shape')
-rw-r--r-- | oox/source/shape/WordprocessingCanvasContext.cxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WordprocessingCanvasContext.hxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/shape/WordprocessingCanvasContext.cxx b/oox/source/shape/WordprocessingCanvasContext.cxx index b03886441d6a..5ec1af292869 100644 --- a/oox/source/shape/WordprocessingCanvasContext.cxx +++ b/oox/source/shape/WordprocessingCanvasContext.cxx @@ -32,7 +32,7 @@ using namespace com::sun::star; namespace oox::shape { WordprocessingCanvasContext::WordprocessingCanvasContext(FragmentHandler2 const& rParent, - css::awt::Size& rSize) + const css::awt::Size& rSize) : FragmentHandler2(rParent) , m_bFullWPGSupport(true) { diff --git a/oox/source/shape/WordprocessingCanvasContext.hxx b/oox/source/shape/WordprocessingCanvasContext.hxx index ffc6a84aeed5..105a83cfcb60 100644 --- a/oox/source/shape/WordprocessingCanvasContext.hxx +++ b/oox/source/shape/WordprocessingCanvasContext.hxx @@ -20,7 +20,7 @@ class WordprocessingCanvasContext final : public oox::core::FragmentHandler2 public: // mpShapePtr points to the root of the group. rSize is the size of the background shape. explicit WordprocessingCanvasContext(oox::core::FragmentHandler2 const& rParent, - css::awt::Size& rSize); + const css::awt::Size& rSize); ~WordprocessingCanvasContext() override; oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index 56abef55fcc1..c60e3d8971c3 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -503,7 +503,7 @@ void lcl_setTextPropsToShape(const uno::Reference<beans::XPropertySet>& xShapePr } } -void lcl_applyUsedTextPropsToAllTextRuns(uno::Reference<text::XText>& xText, +void lcl_applyUsedTextPropsToAllTextRuns(const uno::Reference<text::XText>& xText, const std::vector<beans::PropertyValue>& aTextPropVec) { if (!xText.is()) |