diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:13:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 14:40:36 +0200 |
commit | 5a602ed852b872f87893169062ec47041e013fb9 (patch) | |
tree | 96ab465383046e1c5456ec44e92c4459eb474feb /sc/source/ui/vba/vbamenubars.cxx | |
parent | 9312f954b6d636f232a72e35aa2767e450690793 (diff) |
loplugin:ostr in sc/.../vba
Change-Id: Ifdf0ebba617432f49e2c14c8a52c495dc1c6a36a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167853
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/vba/vbamenubars.cxx')
-rw-r--r-- | sc/source/ui/vba/vbamenubars.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/vba/vbamenubars.cxx b/sc/source/ui/vba/vbamenubars.cxx index 57f66644fcd6..a6df4695497f 100644 --- a/sc/source/ui/vba/vbamenubars.cxx +++ b/sc/source/ui/vba/vbamenubars.cxx @@ -90,20 +90,20 @@ ScVbaMenuBars::Item( const uno::Any& aIndex, const uno::Any& /*aIndex2*/ ) if( nIndex == excel::XlSheetType::xlWorksheet ) { uno::Any aSource; - aSource <<= OUString( "Worksheet Menu Bar" ); + aSource <<= u"Worksheet Menu Bar"_ustr; uno::Reference< XCommandBar > xCommandBar( m_xCommandBars->Item( aSource, uno::Any() ), uno::UNO_QUERY_THROW ); uno::Reference< excel::XMenuBar > xMenuBar( new ScVbaMenuBar( this, mxContext, xCommandBar ) ); return uno::Any( xMenuBar ); } - throw uno::RuntimeException("Not implemented" ); + throw uno::RuntimeException(u"Not implemented"_ustr ); } // XHelperInterface OUString ScVbaMenuBars::getServiceImplName() { - return "ScVbaMenuBars"; + return u"ScVbaMenuBars"_ustr; } uno::Sequence<OUString> @@ -111,7 +111,7 @@ ScVbaMenuBars::getServiceNames() { static uno::Sequence< OUString > const aServiceNames { - "ooo.vba.excel.MenuBars" + u"ooo.vba.excel.MenuBars"_ustr }; return aServiceNames; } |