diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-07 16:01:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-07 18:15:14 +0200 |
commit | f49d8ce4614bb12a6c9f0c6e83812aa69b9b2454 (patch) | |
tree | 880bdd2287897eda128549083a1614712e06542e /extensions/source/abpilot/abpfinalpage.cxx | |
parent | c920881f399a2f679c2ed45f86b93468aa62a5d3 (diff) |
loplugin:ostr in extensions
Change-Id: I32f74fe67e8eb0b6b12ee60405c3d99932b75182
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167284
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/abpilot/abpfinalpage.cxx')
-rw-r--r-- | extensions/source/abpilot/abpfinalpage.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx index c75f9cc5b168..114533edf1b3 100644 --- a/extensions/source/abpilot/abpfinalpage.cxx +++ b/extensions/source/abpilot/abpfinalpage.cxx @@ -33,22 +33,22 @@ namespace abp { static std::shared_ptr<const SfxFilter> lcl_getBaseFilter() { - std::shared_ptr<const SfxFilter> pFilter = SfxFilter::GetFilterByName("StarOffice XML (Base)"); + std::shared_ptr<const SfxFilter> pFilter = SfxFilter::GetFilterByName(u"StarOffice XML (Base)"_ustr); OSL_ENSURE(pFilter,"Filter: StarOffice XML (Base) could not be found!"); return pFilter; } FinalPage::FinalPage(weld::Container* pPage, OAddressBookSourcePilot* pWizard) - : AddressBookSourcePage(pPage, pWizard, "modules/sabpilot/ui/datasourcepage.ui", - "DataSourcePage") - , m_xLocation(new SvtURLBox(m_xBuilder->weld_combo_box("location"))) - , m_xBrowse(m_xBuilder->weld_button("browse")) - , m_xRegisterName(m_xBuilder->weld_check_button("available")) - , m_xEmbed(m_xBuilder->weld_check_button("embed")) - , m_xNameLabel(m_xBuilder->weld_label("nameft")) - , m_xLocationLabel(m_xBuilder->weld_label("locationft")) - , m_xName(m_xBuilder->weld_entry("name")) - , m_xDuplicateNameError(m_xBuilder->weld_label("warning")) + : AddressBookSourcePage(pPage, pWizard, u"modules/sabpilot/ui/datasourcepage.ui"_ustr, + u"DataSourcePage"_ustr) + , m_xLocation(new SvtURLBox(m_xBuilder->weld_combo_box(u"location"_ustr))) + , m_xBrowse(m_xBuilder->weld_button(u"browse"_ustr)) + , m_xRegisterName(m_xBuilder->weld_check_button(u"available"_ustr)) + , m_xEmbed(m_xBuilder->weld_check_button(u"embed"_ustr)) + , m_xNameLabel(m_xBuilder->weld_label(u"nameft"_ustr)) + , m_xLocationLabel(m_xBuilder->weld_label(u"locationft"_ustr)) + , m_xName(m_xBuilder->weld_entry(u"name"_ustr)) + , m_xDuplicateNameError(m_xBuilder->weld_label(u"warning"_ustr)) { m_xLocation->SetSmartProtocol(INetProtocol::File); m_xLocation->DisableHistory(); |