diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-08 12:36:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-11 10:10:38 +0100 |
commit | 0879fd8ea4920c51dab59a35b8df204f19796fad (patch) | |
tree | 145ab5037a7178da25ff9f1c3fc546e047da9d64 /cui/source/tabpages/numpages.cxx | |
parent | 1f7e854887c8715aa31beb55ba514c8b11c374eb (diff) |
clang-tidy: performance-unnecessary-copy-initialization in cui
Change-Id: Idbce2978dee6c485e50dc6ceccf67d7d3722bb17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176375
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/numpages.cxx')
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 240711ffca10..c2309176784f 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -593,7 +593,7 @@ SvxNumPickTabPage::SvxNumPickTabPage(weld::Container* pPage, weld::DialogControl { SvxNumSettingsArr_Impl& rItemArr = aNumSettingsArrays[ nItem ]; - Reference<XIndexAccess> xLevel = aOutlineAccess[nItem]; + const Reference<XIndexAccess>& xLevel = aOutlineAccess[nItem]; for(sal_Int32 nLevel = 0; nLevel < SVX_MAX_NUM; nLevel++) { // use the last locale-defined level for all remaining levels. |