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 /framework/source | |
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 'framework/source')
-rw-r--r-- | framework/source/uiconfiguration/CommandImageResolver.cxx | 2 | ||||
-rw-r--r-- | framework/source/uiconfiguration/CommandImageResolver.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/CommandImageResolver.cxx b/framework/source/uiconfiguration/CommandImageResolver.cxx index b57d17eb1ab5..a431ae320b35 100644 --- a/framework/source/uiconfiguration/CommandImageResolver.cxx +++ b/framework/source/uiconfiguration/CommandImageResolver.cxx @@ -70,7 +70,7 @@ CommandImageResolver::~CommandImageResolver() { } -void CommandImageResolver::registerCommands(Sequence<OUString>& aCommandSequence) +void CommandImageResolver::registerCommands(const Sequence<OUString>& aCommandSequence) { sal_Int32 nSequenceSize = aCommandSequence.getLength(); diff --git a/framework/source/uiconfiguration/CommandImageResolver.hxx b/framework/source/uiconfiguration/CommandImageResolver.hxx index 073d5f345248..0622caf332bb 100644 --- a/framework/source/uiconfiguration/CommandImageResolver.hxx +++ b/framework/source/uiconfiguration/CommandImageResolver.hxx @@ -40,7 +40,7 @@ public: CommandImageResolver(); ~CommandImageResolver(); - void registerCommands(css::uno::Sequence<OUString>& aCommandSequence); + void registerCommands(const css::uno::Sequence<OUString>& aCommandSequence); Image getImageFromCommandURL(ImageType nImageType, const OUString& rCommandURL); std::vector<OUString>& getCommandNames() { return m_aImageCommandNameVector; } |