From dddba389b79647f69f447e576cf7e880be5661c6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 22 May 2024 12:46:02 +0200 Subject: loplugin:ostr in sw/../vba Change-Id: I73491b481fb82785a21f7239fff62f812dd7440c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167953 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/ui/vba/vbacolumns.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/ui/vba/vbacolumns.cxx') diff --git a/sw/source/ui/vba/vbacolumns.cxx b/sw/source/ui/vba/vbacolumns.cxx index ffaf662029f0..9622c9068ae2 100644 --- a/sw/source/ui/vba/vbacolumns.cxx +++ b/sw/source/ui/vba/vbacolumns.cxx @@ -105,11 +105,11 @@ uno::Any SAL_CALL SwVbaColumns::Item( const uno::Any& Index1, const uno::Any& /* { if( nIndex <= 0 || nIndex > getCount() ) { - throw lang::IndexOutOfBoundsException("Index out of bounds" ); + throw lang::IndexOutOfBoundsException(u"Index out of bounds"_ustr ); } return uno::Any( uno::Reference< word::XColumn >( new SwVbaColumn( this, mxContext, mxTextTable, nIndex - 1 ) ) ); } - throw uno::RuntimeException("Index out of bounds" ); + throw uno::RuntimeException(u"Index out of bounds"_ustr ); } // XEnumerationAccess @@ -133,7 +133,7 @@ SwVbaColumns::createCollectionObject( const uno::Any& aSource ) OUString SwVbaColumns::getServiceImplName() { - return "SwVbaColumns"; + return u"SwVbaColumns"_ustr; } uno::Sequence @@ -141,7 +141,7 @@ SwVbaColumns::getServiceNames() { static uno::Sequence< OUString > const sNames { - "ooo.vba.word.Columns" + u"ooo.vba.word.Columns"_ustr }; return sNames; } -- cgit