summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraph.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/vbaparagraph.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/vbaparagraph.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index 19a312795910..51eabcc612fd 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -57,7 +57,7 @@ SwVbaParagraph::setStyle( const uno::Any& style )
OUString
SwVbaParagraph::getServiceImplName()
{
- return "SwVbaParagraph";
+ return u"SwVbaParagraph"_ustr;
}
uno::Sequence< OUString >
@@ -65,7 +65,7 @@ SwVbaParagraph::getServiceNames()
{
static uno::Sequence< OUString > const aServiceNames
{
- "ooo.vba.word.Paragraph"
+ u"ooo.vba.word.Paragraph"_ustr
};
return aServiceNames;
}
@@ -101,7 +101,7 @@ public:
while( xParEnum->hasMoreElements() )
{
uno::Reference< lang::XServiceInfo > xServiceInfo( xParEnum->nextElement(), uno::UNO_QUERY_THROW );
- if( xServiceInfo->supportsService("com.sun.star.text.Paragraph") )
+ if( xServiceInfo->supportsService(u"com.sun.star.text.Paragraph"_ustr) )
{
nCount++;
}
@@ -117,7 +117,7 @@ public:
while( xParEnum->hasMoreElements() )
{
uno::Reference< lang::XServiceInfo > xServiceInfo( xParEnum->nextElement(), uno::UNO_QUERY_THROW );
- if( xServiceInfo->supportsService("com.sun.star.text.Paragraph") )
+ if( xServiceInfo->supportsService(u"com.sun.star.text.Paragraph"_ustr) )
{
if( Index == nCount )
return uno::Any( xServiceInfo );
@@ -163,7 +163,7 @@ SwVbaParagraphs::createCollectionObject( const css::uno::Any& aSource )
OUString
SwVbaParagraphs::getServiceImplName()
{
- return "SwVbaParagraphs";
+ return u"SwVbaParagraphs"_ustr;
}
css::uno::Sequence<OUString>
@@ -171,7 +171,7 @@ SwVbaParagraphs::getServiceNames()
{
static uno::Sequence< OUString > const sNames
{
- "ooo.vba.word.Paragraphs"
+ u"ooo.vba.word.Paragraphs"_ustr
};
return sNames;
}