summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorArnaud VERSINI <arnaud.versini@pm.me>2024-03-03 16:15:25 +0100
committerArnaud Versini <arnaud.versini@pm.me>2024-03-10 16:42:20 +0100
commitb7b029cd71cf008117e7035fe7f883cc09e58247 (patch)
tree7a6ad0bd3dd1f0608bda755ffd41435f719ad7e1 /basctl
parent140a3719f870381a81f5bc2e3531568123f439eb (diff)
basctl : use OUstring literal for XServiceInfo implementation
Change-Id: Iee7585585b5e01fad4609f37a06d2aeeff492123 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164304 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/accessibility/accessibledialogcontrolshape.cxx4
-rw-r--r--basctl/source/accessibility/accessibledialogwindow.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
index 62a260948ff9..c19741c95afa 100644
--- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx
+++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
@@ -280,7 +280,7 @@ void AccessibleDialogControlShape::propertyChange( const beans::PropertyChangeEv
// XServiceInfo
OUString AccessibleDialogControlShape::getImplementationName()
{
- return "com.sun.star.comp.basctl.AccessibleShape";
+ return u"com.sun.star.comp.basctl.AccessibleShape"_ustr;
}
sal_Bool AccessibleDialogControlShape::supportsService( const OUString& rServiceName )
@@ -290,7 +290,7 @@ sal_Bool AccessibleDialogControlShape::supportsService( const OUString& rService
Sequence< OUString > AccessibleDialogControlShape::getSupportedServiceNames()
{
- return { "com.sun.star.drawing.AccessibleShape" };
+ return { u"com.sun.star.drawing.AccessibleShape"_ustr };
}
// XAccessible
diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx
index d5c702616d9f..e9b4513294fb 100644
--- a/basctl/source/accessibility/accessibledialogwindow.cxx
+++ b/basctl/source/accessibility/accessibledialogwindow.cxx
@@ -505,7 +505,7 @@ void AccessibleDialogWindow::disposing()
// XServiceInfo
OUString AccessibleDialogWindow::getImplementationName()
{
- return "com.sun.star.comp.basctl.AccessibleWindow";
+ return u"com.sun.star.comp.basctl.AccessibleWindow"_ustr;
}
sal_Bool AccessibleDialogWindow::supportsService( const OUString& rServiceName )
@@ -515,7 +515,7 @@ sal_Bool AccessibleDialogWindow::supportsService( const OUString& rServiceName )
Sequence< OUString > AccessibleDialogWindow::getSupportedServiceNames()
{
- return { "com.sun.star.awt.AccessibleWindow" };
+ return { u"com.sun.star.awt.AccessibleWindow"_ustr };
}
// XAccessible