diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-06 09:26:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-06 19:14:55 +0200 |
commit | e7a7df094ebe8c1a1205c64a410df893c3acf652 (patch) | |
tree | 215908a5900c022cefa3b7cfb08e6363eea77f7c /sw/source/uibase/utlui/bookctrl.cxx | |
parent | 9aac754d39e9018ff70185956f488402ecac064c (diff) |
loplugin:ostr in sw/../utlui
Change-Id: I542c3ab519f1b154e606943e867794127ec279c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168488
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/utlui/bookctrl.cxx')
-rw-r--r-- | sw/source/uibase/utlui/bookctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/bookctrl.cxx b/sw/source/uibase/utlui/bookctrl.cxx index e79821022abc..04c16b105f24 100644 --- a/sw/source/uibase/utlui/bookctrl.cxx +++ b/sw/source/uibase/utlui/bookctrl.cxx @@ -79,8 +79,8 @@ void SwBookmarkControl::Command( const CommandEvent& rCEvt ) if (!pViewFrm) return; - std::unique_ptr<weld::Builder> xBuilder(Application::CreateBuilder(nullptr, "modules/swriter/ui/bookmarkmenu.ui")); - std::unique_ptr<weld::Menu> xPopup(xBuilder->weld_menu("menu")); + std::unique_ptr<weld::Builder> xBuilder(Application::CreateBuilder(nullptr, u"modules/swriter/ui/bookmarkmenu.ui"_ustr)); + std::unique_ptr<weld::Menu> xPopup(xBuilder->weld_menu(u"menu"_ustr)); IDocumentMarkAccess* const pMarkAccess = pWrtShell->getIDocumentMarkAccess(); IDocumentMarkAccess::const_iterator_t ppBookmarkStart = pMarkAccess->getBookmarksBegin(); |