diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 09:55:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 12:40:38 +0200 |
commit | 166f81f38e78d85202c3880e4656759ff0d5fda1 (patch) | |
tree | 8ec3d1a7c96bb5740450b5827dd4515248f0a3d2 /reportdesign/source/ui/report/ReportSection.cxx | |
parent | 509ed148fc37731e021840f4cd8900d7a9a9b716 (diff) |
loplugin:ostr in reportdesign
Change-Id: I49d112d1a068ff265aa2242e62f53919f43fa15c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167436
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/report/ReportSection.cxx')
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 646ab278629a..3a96cd636ae7 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -422,15 +422,15 @@ void OReportSection::Command( const CommandEvent& _rCEvt ) OReportController& rController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); uno::Reference<frame::XFrame> xFrame = rController.getFrame(); css::uno::Sequence<css::uno::Any> aArgs { - css::uno::Any(comphelper::makePropertyValue("Value", OUString("report"))), - css::uno::Any(comphelper::makePropertyValue("Frame", xFrame)), - css::uno::Any(comphelper::makePropertyValue("IsContextMenu", true)) + css::uno::Any(comphelper::makePropertyValue(u"Value"_ustr, u"report"_ustr)), + css::uno::Any(comphelper::makePropertyValue(u"Frame"_ustr, xFrame)), + css::uno::Any(comphelper::makePropertyValue(u"IsContextMenu"_ustr, true)) }; css::uno::Reference<css::uno::XComponentContext> xContext(rController.getORB()); css::uno::Reference<css::frame::XPopupMenuController> xMenuController( xContext->getServiceManager()->createInstanceWithArgumentsAndContext( - "com.sun.star.comp.framework.ResourceMenuController", aArgs, xContext), css::uno::UNO_QUERY); + u"com.sun.star.comp.framework.ResourceMenuController"_ustr, aArgs, xContext), css::uno::UNO_QUERY); if (!xMenuController.is()) return; |