diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 15:54:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 18:37:47 +0200 |
commit | 50a6041bfac60ab03ec896bd638504524853300d (patch) | |
tree | 0178900643552698db356a0e3c70c94239ad5577 /vcl/source/window/accel.cxx | |
parent | 102a94c9de3c8c4d1326022dd14a300d6b72e222 (diff) |
loplugin:constvars in vcl
Change-Id: Ic454a4d9520992eaecef4b64ec73d49e52ffcc2c
Reviewed-on: https://gerrit.libreoffice.org/77828
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/accel.cxx')
-rw-r--r-- | vcl/source/window/accel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx index 0b16a053730f..efb0284fc283 100644 --- a/vcl/source/window/accel.cxx +++ b/vcl/source/window/accel.cxx @@ -157,7 +157,7 @@ void Accelerator::ImplCopyData( ImplAccelData& rAccelData ) void Accelerator::ImplDeleteData() { // delete accelerator-entries using the id-table - for (std::unique_ptr<ImplAccelEntry>& pEntry : mpData->maIdList) { + for (const std::unique_ptr<ImplAccelEntry>& pEntry : mpData->maIdList) { delete pEntry->mpAutoAccel; } mpData->maIdList.clear(); |