summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/prntopts.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/prntopts.cxx')
-rw-r--r--sd/source/ui/dlg/prntopts.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index e95820b39ae2..d26e80f1af82 100644
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -89,7 +89,7 @@ OUString SdPrintOptions::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() + " ";
}
@@ -99,7 +99,7 @@ OUString SdPrintOptions::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() + " ";
}
@@ -108,7 +108,7 @@ OUString SdPrintOptions::GetAllStrings()
for (const auto& radio : radioButton)
{
- if (const auto& pString = m_xBuilder->weld_radio_button(radio))
+ if (const auto pString = m_xBuilder->weld_radio_button(radio))
sAllStrings += pString->get_label() + " ";
}