summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 12:24:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 15:15:14 +0200
commitc137c2a46cd2276938d572c97fb111b9aa31cdfd (patch)
tree9fe4c1809e836f3c177fd930b632af6cad5407c0 /sc/source/ui/docshell/docsh.cxx
parent9fe857b7bd126ff4856fc4689d375881653b97a2 (diff)
loplugin:constparam in sc part5
Change-Id: Iba249d4d8f7cc686941106983031bae53c7528e1 Reviewed-on: https://gerrit.libreoffice.org/41510 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 2e26e5d2386e..3c9d8c5d3c73 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2951,7 +2951,7 @@ ScFormatSaveData* ScDocShell::GetFormatSaveData()
namespace {
-void removeKeysIfExists(Reference<ui::XAcceleratorConfiguration>& xScAccel, const vector<const awt::KeyEvent*>& rKeys)
+void removeKeysIfExists(const Reference<ui::XAcceleratorConfiguration>& xScAccel, const vector<const awt::KeyEvent*>& rKeys)
{
vector<const awt::KeyEvent*>::const_iterator itr = rKeys.begin(), itrEnd = rKeys.end();
for (; itr != itrEnd; ++itr)