summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 4d61a873e264..89b217fa8d6e 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -33,22 +33,22 @@
/*********************************************************************/
SvxFontSubstTabPage::SvxFontSubstTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet)
- : SfxTabPage(pPage, pController, "cui/ui/optfontspage.ui", "OptFontsPage", &rSet)
- , m_xUseTableCB(m_xBuilder->weld_check_button("usetable"))
- , m_xUseTableImg(m_xBuilder->weld_widget("lockusetable"))
- , m_xFont1CB(m_xBuilder->weld_combo_box("font1"))
- , m_xFont2CB(m_xBuilder->weld_combo_box("font2"))
- , m_xApply(m_xBuilder->weld_button("apply"))
- , m_xDelete(m_xBuilder->weld_button("delete"))
- , m_xCheckLB(m_xBuilder->weld_tree_view("checklb"))
- , m_xFontNameLB(m_xBuilder->weld_combo_box("fontname"))
- , m_xFontNameLabel(m_xBuilder->weld_label("label8"))
- , m_xFontNameImg(m_xBuilder->weld_widget("lockfontname"))
- , m_xNonPropFontsOnlyCB(m_xBuilder->weld_check_button("nonpropfontonly"))
- , m_xNonPropFontsOnlyImg(m_xBuilder->weld_widget("locknonpropfontonly"))
- , m_xFontHeightLB(m_xBuilder->weld_combo_box("fontheight"))
- , m_xFontHeightLabel(m_xBuilder->weld_label("label9"))
- , m_xFontHeightImg(m_xBuilder->weld_widget("lockfontheight"))
+ : SfxTabPage(pPage, pController, u"cui/ui/optfontspage.ui"_ustr, u"OptFontsPage"_ustr, &rSet)
+ , m_xUseTableCB(m_xBuilder->weld_check_button(u"usetable"_ustr))
+ , m_xUseTableImg(m_xBuilder->weld_widget(u"lockusetable"_ustr))
+ , m_xFont1CB(m_xBuilder->weld_combo_box(u"font1"_ustr))
+ , m_xFont2CB(m_xBuilder->weld_combo_box(u"font2"_ustr))
+ , m_xApply(m_xBuilder->weld_button(u"apply"_ustr))
+ , m_xDelete(m_xBuilder->weld_button(u"delete"_ustr))
+ , m_xCheckLB(m_xBuilder->weld_tree_view(u"checklb"_ustr))
+ , m_xFontNameLB(m_xBuilder->weld_combo_box(u"fontname"_ustr))
+ , m_xFontNameLabel(m_xBuilder->weld_label(u"label8"_ustr))
+ , m_xFontNameImg(m_xBuilder->weld_widget(u"lockfontname"_ustr))
+ , m_xNonPropFontsOnlyCB(m_xBuilder->weld_check_button(u"nonpropfontonly"_ustr))
+ , m_xNonPropFontsOnlyImg(m_xBuilder->weld_widget(u"locknonpropfontonly"_ustr))
+ , m_xFontHeightLB(m_xBuilder->weld_combo_box(u"fontheight"_ustr))
+ , m_xFontHeightLabel(m_xBuilder->weld_label(u"label9"_ustr))
+ , m_xFontHeightImg(m_xBuilder->weld_widget(u"lockfontheight"_ustr))
{
m_xFont1CB->make_sorted();
m_xFont1CB->set_size_request(1, -1);
@@ -149,7 +149,7 @@ std::unique_ptr<SfxTabPage> SvxFontSubstTabPage::Create( weld::Container* pPage,
OUString SvxFontSubstTabPage::GetAllStrings()
{
OUString sAllStrings;
- OUString labels[] = { "label4", "label2", "label3", "label1", "label8", "label9" };
+ OUString labels[] = { u"label4"_ustr, u"label2"_ustr, u"label3"_ustr, u"label1"_ustr, u"label8"_ustr, u"label9"_ustr };
for (const auto& label : labels)
{
@@ -157,7 +157,7 @@ OUString SvxFontSubstTabPage::GetAllStrings()
sAllStrings += pString->get_label() + " ";
}
- OUString checkButton[] = { "usetable", "nonpropfontonly" };
+ OUString checkButton[] = { u"usetable"_ustr, u"nonpropfontonly"_ustr };
for (const auto& check : checkButton)
{