summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/zoom.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/zoom.cxx')
-rw-r--r--cui/source/dialogs/zoom.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 7bef6a5b9860..0fe135d3c49c 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -121,22 +121,22 @@ void SvxZoomDialog::SetLimits(sal_uInt16 nMin, sal_uInt16 nMax)
const SfxItemSet* SvxZoomDialog::GetOutputItemSet() const { return m_pOutSet.get(); }
SvxZoomDialog::SvxZoomDialog(weld::Window* pParent, const SfxItemSet& rCoreSet)
- : SfxDialogController(pParent, "cui/ui/zoomdialog.ui", "ZoomDialog")
+ : SfxDialogController(pParent, u"cui/ui/zoomdialog.ui"_ustr, u"ZoomDialog"_ustr)
, m_rSet(rCoreSet)
, m_bModified(false)
- , m_xOptimalBtn(m_xBuilder->weld_radio_button("optimal"))
- , m_xWholePageBtn(m_xBuilder->weld_radio_button("fitwandh"))
- , m_xPageWidthBtn(m_xBuilder->weld_radio_button("fitw"))
- , m_x100Btn(m_xBuilder->weld_radio_button("100pc"))
- , m_xUserBtn(m_xBuilder->weld_radio_button("variable"))
- , m_xUserEdit(m_xBuilder->weld_metric_spin_button("zoomsb", FieldUnit::PERCENT))
- , m_xViewFrame(m_xBuilder->weld_widget("viewframe"))
- , m_xAutomaticBtn(m_xBuilder->weld_radio_button("automatic"))
- , m_xSingleBtn(m_xBuilder->weld_radio_button("singlepage"))
- , m_xColumnsBtn(m_xBuilder->weld_radio_button("columns"))
- , m_xColumnsEdit(m_xBuilder->weld_spin_button("columnssb"))
- , m_xBookModeChk(m_xBuilder->weld_check_button("bookmode"))
- , m_xOKBtn(m_xBuilder->weld_button("ok"))
+ , m_xOptimalBtn(m_xBuilder->weld_radio_button(u"optimal"_ustr))
+ , m_xWholePageBtn(m_xBuilder->weld_radio_button(u"fitwandh"_ustr))
+ , m_xPageWidthBtn(m_xBuilder->weld_radio_button(u"fitw"_ustr))
+ , m_x100Btn(m_xBuilder->weld_radio_button(u"100pc"_ustr))
+ , m_xUserBtn(m_xBuilder->weld_radio_button(u"variable"_ustr))
+ , m_xUserEdit(m_xBuilder->weld_metric_spin_button(u"zoomsb"_ustr, FieldUnit::PERCENT))
+ , m_xViewFrame(m_xBuilder->weld_widget(u"viewframe"_ustr))
+ , m_xAutomaticBtn(m_xBuilder->weld_radio_button(u"automatic"_ustr))
+ , m_xSingleBtn(m_xBuilder->weld_radio_button(u"singlepage"_ustr))
+ , m_xColumnsBtn(m_xBuilder->weld_radio_button(u"columns"_ustr))
+ , m_xColumnsEdit(m_xBuilder->weld_spin_button(u"columnssb"_ustr))
+ , m_xBookModeChk(m_xBuilder->weld_check_button(u"bookmode"_ustr))
+ , m_xOKBtn(m_xBuilder->weld_button(u"ok"_ustr))
{
Link<weld::Toggleable&, void> aLink = LINK(this, SvxZoomDialog, UserHdl);
m_x100Btn->connect_toggled(aLink);