summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbacolumns.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-22 12:46:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-23 08:37:41 +0200
commitdddba389b79647f69f447e576cf7e880be5661c6 (patch)
tree10d8da4fb55cf603a70229abddc460b0646ed237 /sw/source/ui/vba/vbacolumns.cxx
parentb1f4a39a326bcaf06068914c03c3dea6f9aeebd8 (diff)
loplugin:ostr in sw/../vba
Change-Id: I73491b481fb82785a21f7239fff62f812dd7440c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167953 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/vba/vbacolumns.cxx')
-rw-r--r--sw/source/ui/vba/vbacolumns.cxx8
1 files changed, 4 insertions, 4 deletions
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<OUString>
@@ -141,7 +141,7 @@ SwVbaColumns::getServiceNames()
{
static uno::Sequence< OUString > const sNames
{
- "ooo.vba.word.Columns"
+ u"ooo.vba.word.Columns"_ustr
};
return sNames;
}