diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-22 12:46:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-23 08:37:41 +0200 |
commit | dddba389b79647f69f447e576cf7e880be5661c6 (patch) | |
tree | 10d8da4fb55cf603a70229abddc460b0646ed237 /sw/source/ui/vba/vbatables.cxx | |
parent | b1f4a39a326bcaf06068914c03c3dea6f9aeebd8 (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/vbatables.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatables.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbatables.cxx b/sw/source/ui/vba/vbatables.cxx index b7aa4cadda39..ef07829e0d2e 100644 --- a/sw/source/ui/vba/vbatables.cxx +++ b/sw/source/ui/vba/vbatables.cxx @@ -182,7 +182,7 @@ SwVbaTables::Add( const uno::Reference< word::XRange >& Range, const uno::Any& N uno::Reference< text::XTextRange > xTextRange = pVbaRange->getXTextRange(); uno::Reference< text::XTextTable > xTable; - xTable.set( xMsf->createInstance("com.sun.star.text.TextTable"), uno::UNO_QUERY_THROW ); + xTable.set( xMsf->createInstance(u"com.sun.star.text.TextTable"_ustr), uno::UNO_QUERY_THROW ); xTable->initialize( nRows, nCols ); uno::Reference< text::XText > xText = xTextRange->getText(); @@ -216,7 +216,7 @@ SwVbaTables::createCollectionObject( const uno::Any& aSource ) OUString SwVbaTables::getServiceImplName() { - return "SwVbaTables"; + return u"SwVbaTables"_ustr; } // XEnumerationAccess @@ -231,7 +231,7 @@ SwVbaTables::getServiceNames() { static uno::Sequence< OUString > const aServiceNames { - "ooo.vba.word.Tables" + u"ooo.vba.word.Tables"_ustr }; return aServiceNames; } |