summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbatables.cxx')
-rw-r--r--sw/source/ui/vba/vbatables.cxx6
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;
}