From e7a7df094ebe8c1a1205c64a410df893c3acf652 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Jun 2024 09:26:17 +0200 Subject: loplugin:ostr in sw/../utlui Change-Id: I542c3ab519f1b154e606943e867794127ec279c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168488 Reviewed-by: Noel Grandin Tested-by: Jenkins --- sw/source/uibase/utlui/bookctrl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/utlui/bookctrl.cxx') 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 xBuilder(Application::CreateBuilder(nullptr, "modules/swriter/ui/bookmarkmenu.ui")); - std::unique_ptr xPopup(xBuilder->weld_menu("menu")); + std::unique_ptr xBuilder(Application::CreateBuilder(nullptr, u"modules/swriter/ui/bookmarkmenu.ui"_ustr)); + std::unique_ptr xPopup(xBuilder->weld_menu(u"menu"_ustr)); IDocumentMarkAccess* const pMarkAccess = pWrtShell->getIDocumentMarkAccess(); IDocumentMarkAccess::const_iterator_t ppBookmarkStart = pMarkAccess->getBookmarksBegin(); -- cgit