diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-08 13:55:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-08 17:33:10 +0100 |
commit | 3f691b4a160b2ed1bb503c5b52e925bfa974e1e5 (patch) | |
tree | e38732ba18c3f6d9d55b9a8e9a5f5d6d269d8d37 /cui/source/options/optjava.cxx | |
parent | 39b15dc8f0adec9e856a39cf319c7c8ae6750043 (diff) |
loplugin:reftotemp in cppcanvas..cui
Change-Id: I6c9ded2252462bcdeee6520bb7b7fa1752aa583b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176276
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'cui/source/options/optjava.cxx')
-rw-r--r-- | cui/source/options/optjava.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index f8cb0657d393..e0124974ebfa 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -480,7 +480,7 @@ OUString SvxJavaOptionsPage::GetAllStrings() for (const auto& label : labels) { - if (const auto& pString = m_xBuilder->weld_label(label)) + if (const auto pString = m_xBuilder->weld_label(label)) sAllStrings += pString->get_label() + " "; } @@ -488,7 +488,7 @@ OUString SvxJavaOptionsPage::GetAllStrings() for (const auto& check : checkButton) { - if (const auto& pString = m_xBuilder->weld_check_button(check)) + if (const auto pString = m_xBuilder->weld_check_button(check)) sAllStrings += pString->get_label() + " "; } @@ -496,7 +496,7 @@ OUString SvxJavaOptionsPage::GetAllStrings() for (const auto& btn : buttons) { - if (const auto& pString = m_xBuilder->weld_button(btn)) + if (const auto pString = m_xBuilder->weld_button(btn)) sAllStrings += pString->get_label() + " "; } |