summaryrefslogtreecommitdiff
path: root/cui/source/options/optbasic.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optbasic.cxx')
-rw-r--r--cui/source/options/optbasic.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optbasic.cxx b/cui/source/options/optbasic.cxx
index d7bd06d94626..3b105f27d16d 100644
--- a/cui/source/options/optbasic.cxx
+++ b/cui/source/options/optbasic.cxx
@@ -60,7 +60,7 @@ OUString SvxBasicIDEOptionsPage::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() + " ";
}
@@ -69,7 +69,7 @@ OUString SvxBasicIDEOptionsPage::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() + " ";
}