use string OUString literals in a11y for XServiceInfo impl.
Used in getImplementationName and getSupportedServiceNames Change-Id: I003db960123c66d4d47b99aec678b156bf4c4d91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161301 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
committed by
Michael Weghorn
parent
029d761b92
commit
0f6f5048d2
@@ -171,7 +171,7 @@ void SAL_CALL AccessibleBrowseBox::grabFocus()
|
||||
|
||||
OUString SAL_CALL AccessibleBrowseBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleBrowseBox";
|
||||
return u"com.sun.star.comp.svtools.AccessibleBrowseBox"_ustr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -304,7 +304,7 @@ sal_Bool SAL_CALL AccessibleBrowseBoxBase::supportsService(
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleBrowseBoxBase::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.accessibility.AccessibleContext" };
|
||||
return { u"com.sun.star.accessibility.AccessibleContext"_ustr };
|
||||
}
|
||||
|
||||
// other public methods
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL AccessibleCheckBoxCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.TableCheckBoxCell";
|
||||
return u"com.sun.star.comp.svtools.TableCheckBoxCell"_ustr;
|
||||
}
|
||||
|
||||
sal_Int64 SAL_CALL AccessibleCheckBoxCell::getAccessibleIndexInParent()
|
||||
|
||||
@@ -291,7 +291,7 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::release() noexcept
|
||||
|
||||
OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderBar";
|
||||
return u"com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderBar"_ustr;
|
||||
}
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxHeaderBar::getImplementationId()
|
||||
|
||||
@@ -108,7 +108,7 @@ void SAL_CALL AccessibleBrowseBoxHeaderCell::grabFocus()
|
||||
*/
|
||||
OUString SAL_CALL AccessibleBrowseBoxHeaderCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderCell";
|
||||
return u"com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderCell"_ustr;
|
||||
}
|
||||
|
||||
namespace
|
||||
|
||||
@@ -185,7 +185,7 @@ sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleSelected(
|
||||
|
||||
OUString SAL_CALL AccessibleBrowseBoxTable::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleBrowseBoxTable";
|
||||
return u"com.sun.star.comp.svtools.AccessibleBrowseBoxTable"_ustr;
|
||||
}
|
||||
|
||||
// internal virtual methods ---------------------------------------------------
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace accessibility
|
||||
*/
|
||||
OUString SAL_CALL AccessibleBrowseBoxTableCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleBrowseBoxTableCell";
|
||||
return u"com.sun.star.comp.svtools.AccessibleBrowseBoxTableCell"_ustr;
|
||||
}
|
||||
|
||||
/** @return The count of visible children. */
|
||||
|
||||
@@ -181,7 +181,7 @@ void SAL_CALL AccessibleGridControl::grabFocus()
|
||||
|
||||
OUString SAL_CALL AccessibleGridControl::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.accessibility.AccessibleGridControl";
|
||||
return u"com.sun.star.accessibility.AccessibleGridControl"_ustr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@ sal_Bool SAL_CALL AccessibleGridControlBase::supportsService(
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleGridControlBase::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.accessibility.AccessibleContext" };
|
||||
return { u"com.sun.star.accessibility.AccessibleContext"_ustr };
|
||||
}
|
||||
// internal virtual methods
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleSelected(
|
||||
|
||||
OUString SAL_CALL AccessibleGridControlHeader::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.accessibility.AccessibleGridControlHeader";
|
||||
return u"com.sun.star.accessibility.AccessibleGridControlHeader"_ustr;
|
||||
}
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL AccessibleGridControlHeader::getImplementationId()
|
||||
|
||||
@@ -123,7 +123,7 @@ void SAL_CALL AccessibleGridControlHeaderCell::grabFocus()
|
||||
*/
|
||||
OUString SAL_CALL AccessibleGridControlHeaderCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.accessibility.AccessibleGridControlHeaderCell";
|
||||
return u"com.sun.star.accessibility.AccessibleGridControlHeaderCell"_ustr;
|
||||
}
|
||||
|
||||
tools::Rectangle AccessibleGridControlHeaderCell::implGetBoundingBox()
|
||||
|
||||
@@ -293,7 +293,7 @@ void SAL_CALL AccessibleGridControlTable::release() noexcept
|
||||
|
||||
OUString SAL_CALL AccessibleGridControlTable::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.accessibility.AccessibleGridControlTable";
|
||||
return u"com.sun.star.accessibility.AccessibleGridControlTable"_ustr;
|
||||
}
|
||||
|
||||
void AccessibleGridControlTable::dispose()
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace accessibility
|
||||
*/
|
||||
OUString SAL_CALL AccessibleGridControlTableCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.accessibility.AccessibleGridControlTableCell";
|
||||
return u"com.sun.star.accessibility.AccessibleGridControlTableCell"_ustr;
|
||||
}
|
||||
|
||||
/** @return The count of visible children. */
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL EditBrowseBoxTableCell::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.TableCellProxy";
|
||||
return u"com.sun.star.comp.svtools.TableCellProxy"_ustr;
|
||||
}
|
||||
|
||||
IMPLEMENT_FORWARD_XINTERFACE2( EditBrowseBoxTableCell, AccessibleBrowseBoxCell, OAccessibleContextWrapperHelper )
|
||||
|
||||
@@ -120,14 +120,14 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL AccessibleIconChoiceCtrl::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleIconChoiceControl";
|
||||
return u"com.sun.star.comp.svtools.AccessibleIconChoiceControl"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrl::getSupportedServiceNames()
|
||||
{
|
||||
return {"com.sun.star.accessibility.AccessibleContext",
|
||||
"com.sun.star.accessibility.AccessibleComponent",
|
||||
"com.sun.star.awt.AccessibleIconChoiceControl"};
|
||||
return {u"com.sun.star.accessibility.AccessibleContext"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleComponent"_ustr,
|
||||
u"com.sun.star.awt.AccessibleIconChoiceControl"_ustr};
|
||||
}
|
||||
|
||||
sal_Bool SAL_CALL AccessibleIconChoiceCtrl::supportsService( const OUString& _rServiceName )
|
||||
|
||||
@@ -216,14 +216,14 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry";
|
||||
return u"com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrlEntry::getSupportedServiceNames()
|
||||
{
|
||||
return {"com.sun.star.accessibility.AccessibleContext",
|
||||
"com.sun.star.accessibility.AccessibleComponent",
|
||||
"com.sun.star.awt.AccessibleIconChoiceControlEntry"};
|
||||
return {u"com.sun.star.accessibility.AccessibleContext"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleComponent"_ustr,
|
||||
u"com.sun.star.awt.AccessibleIconChoiceControlEntry"_ustr};
|
||||
}
|
||||
|
||||
sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::supportsService( const OUString& _rServiceName )
|
||||
|
||||
@@ -251,14 +251,14 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL AccessibleListBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTreeListBox";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTreeListBox"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleListBox::getSupportedServiceNames()
|
||||
{
|
||||
return {"com.sun.star.accessibility.AccessibleContext",
|
||||
"com.sun.star.accessibility.AccessibleComponent",
|
||||
"com.sun.star.awt.AccessibleTreeListBox"};
|
||||
return {u"com.sun.star.accessibility.AccessibleContext"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleComponent"_ustr,
|
||||
u"com.sun.star.awt.AccessibleTreeListBox"_ustr};
|
||||
}
|
||||
|
||||
sal_Bool SAL_CALL AccessibleListBox::supportsService( const OUString& _rServiceName )
|
||||
|
||||
@@ -269,14 +269,14 @@ namespace accessibility
|
||||
|
||||
OUString SAL_CALL AccessibleListBoxEntry::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTreeListBoxEntry";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTreeListBoxEntry"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > SAL_CALL AccessibleListBoxEntry::getSupportedServiceNames()
|
||||
{
|
||||
return {"com.sun.star.accessibility.AccessibleContext",
|
||||
"com.sun.star.accessibility.AccessibleComponent",
|
||||
"com.sun.star.awt.AccessibleTreeListBoxEntry"};
|
||||
return {u"com.sun.star.accessibility.AccessibleContext"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleComponent"_ustr,
|
||||
u"com.sun.star.awt.AccessibleTreeListBoxEntry"_ustr};
|
||||
}
|
||||
|
||||
sal_Bool SAL_CALL AccessibleListBoxEntry::supportsService( const OUString& _rServiceName )
|
||||
|
||||
@@ -175,7 +175,7 @@ namespace accessibility
|
||||
|
||||
OUString AccessibleTabBar::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTabBar";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTabBar"_ustr;
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBar::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleTabBar" };
|
||||
return { u"com.sun.star.awt.AccessibleTabBar"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace accessibility
|
||||
|
||||
OUString AccessibleTabBarPage::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTabBarPage";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTabBarPage"_ustr;
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleTabBarPage" };
|
||||
return { u"com.sun.star.awt.AccessibleTabBarPage"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -334,7 +334,7 @@ namespace accessibility
|
||||
|
||||
OUString AccessibleTabBarPageList::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTabBarPageList";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTabBarPageList"_ustr;
|
||||
}
|
||||
|
||||
|
||||
@@ -346,7 +346,7 @@ namespace accessibility
|
||||
|
||||
Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleTabBarPageList" };
|
||||
return { u"com.sun.star.awt.AccessibleTabBarPageList"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ namespace accessibility
|
||||
|
||||
OUString AccessibleTabListBoxTable::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.svtools.AccessibleTabListBoxTable";
|
||||
return u"com.sun.star.comp.svtools.AccessibleTabListBoxTable"_ustr;
|
||||
}
|
||||
|
||||
// XAccessibleSelection
|
||||
|
||||
@@ -104,13 +104,13 @@ void VCLXAccessibleButton::FillAccessibleStateSet( sal_Int64& rStateSet )
|
||||
|
||||
OUString VCLXAccessibleButton::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleButton";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleButton"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleButton" };
|
||||
return { u"com.sun.star.awt.AccessibleButton"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -143,13 +143,13 @@ void VCLXAccessibleCheckBox::FillAccessibleStateSet( sal_Int64& rStateSet )
|
||||
|
||||
OUString VCLXAccessibleCheckBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleCheckBox";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleCheckBox"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleCheckBox" };
|
||||
return { u"com.sun.star.awt.AccessibleCheckBox"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -42,14 +42,14 @@ bool VCLXAccessibleComboBox::IsValid() const
|
||||
|
||||
OUString VCLXAccessibleComboBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleComboBox";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleComboBox"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames()
|
||||
{
|
||||
return comphelper::concatSequences(VCLXAccessibleBox::getSupportedServiceNames(),
|
||||
Sequence<OUString>{"com.sun.star.accessibility.AccessibleComboBox"});
|
||||
Sequence<OUString>{u"com.sun.star.accessibility.AccessibleComboBox"_ustr});
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -61,14 +61,14 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r
|
||||
|
||||
OUString VCLXAccessibleDropDownComboBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleDropDownComboBox";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleDropDownComboBox"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames()
|
||||
{
|
||||
return comphelper::concatSequences(VCLXAccessibleBox::getSupportedServiceNames(),
|
||||
Sequence<OUString>{"com.sun.star.accessibility.AccessibleDropDownComboBox"});
|
||||
Sequence<OUString>{u"com.sun.star.accessibility.AccessibleDropDownComboBox"_ustr});
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -40,13 +40,13 @@ bool VCLXAccessibleDropDownListBox::IsValid() const
|
||||
// XServiceInfo
|
||||
OUString VCLXAccessibleDropDownListBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleDropDownListBox";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleDropDownListBox"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames()
|
||||
{
|
||||
return comphelper::concatSequences(VCLXAccessibleBox::getSupportedServiceNames(),
|
||||
Sequence<OUString>{"com.sun.star.accessibility.AccessibleDropDownListBox"});
|
||||
Sequence<OUString>{u"com.sun.star.accessibility.AccessibleDropDownListBox"_ustr});
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -168,13 +168,13 @@ void VCLXAccessibleEdit::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nE
|
||||
|
||||
OUString VCLXAccessibleEdit::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleEdit";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleEdit"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleEdit" };
|
||||
return { u"com.sun.star.awt.AccessibleEdit"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -27,12 +27,12 @@ using namespace ::com::sun::star;
|
||||
|
||||
OUString VCLXAccessibleFixedHyperlink::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleFixedHyperlink";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleFixedHyperlink"_ustr;
|
||||
}
|
||||
|
||||
uno::Sequence<OUString> VCLXAccessibleFixedHyperlink::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleFixedHyperlink" };
|
||||
return { u"com.sun.star.awt.AccessibleFixedHyperlink"_ustr };
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -42,12 +42,12 @@ void VCLXAccessibleFixedText::FillAccessibleStateSet(sal_Int64& rStateSet)
|
||||
|
||||
OUString VCLXAccessibleFixedText::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleFixedText";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleFixedText"_ustr;
|
||||
}
|
||||
|
||||
Sequence<OUString> VCLXAccessibleFixedText::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleFixedText" };
|
||||
return { u"com.sun.star.awt.AccessibleFixedText"_ustr };
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -46,12 +46,12 @@ VCLXAccessibleHeaderBar::~VCLXAccessibleHeaderBar() {}
|
||||
|
||||
OUString VCLXAccessibleHeaderBar::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleHeaderBar";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleHeaderBar"_ustr;
|
||||
}
|
||||
|
||||
Sequence<OUString> VCLXAccessibleHeaderBar::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleHeaderBar" };
|
||||
return { u"com.sun.star.awt.AccessibleHeaderBar"_ustr };
|
||||
}
|
||||
|
||||
// =======XAccessibleContext=======
|
||||
|
||||
@@ -66,13 +66,13 @@ bool VCLXAccessibleMenu::IsPopupMenuOpen()
|
||||
|
||||
OUString VCLXAccessibleMenu::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleMenu";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleMenu"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleMenu" };
|
||||
return { u"com.sun.star.awt.AccessibleMenu"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -42,13 +42,13 @@ bool VCLXAccessiblePopupMenu::IsFocused()
|
||||
|
||||
OUString VCLXAccessiblePopupMenu::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessiblePopupMenu";
|
||||
return u"com.sun.star.comp.toolkit.AccessiblePopupMenu"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessiblePopupMenu" };
|
||||
return { u"com.sun.star.awt.AccessiblePopupMenu"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -81,13 +81,13 @@ void VCLXAccessibleScrollBar::FillAccessibleStateSet( sal_Int64& rStateSet )
|
||||
|
||||
OUString VCLXAccessibleScrollBar::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleScrollBar";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleScrollBar"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleScrollBar" };
|
||||
return { u"com.sun.star.awt.AccessibleScrollBar"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -251,13 +251,13 @@ void VCLXAccessibleStatusBar::disposing()
|
||||
|
||||
OUString VCLXAccessibleStatusBar::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleStatusBar";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleStatusBar"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleStatusBar" };
|
||||
return { u"com.sun.star.awt.AccessibleStatusBar"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ void VCLXAccessibleStatusBarItem::disposing()
|
||||
|
||||
OUString VCLXAccessibleStatusBarItem::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleStatusBarItem";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleStatusBarItem"_ustr;
|
||||
}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceN
|
||||
|
||||
Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleStatusBarItem" };
|
||||
return { u"com.sun.star.awt.AccessibleStatusBarItem"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -293,13 +293,13 @@ void VCLXAccessibleTabControl::disposing()
|
||||
|
||||
OUString VCLXAccessibleTabControl::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleTabControl";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleTabControl"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleTabControl" };
|
||||
return { u"com.sun.star.awt.AccessibleTabControl"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -236,7 +236,7 @@ void VCLXAccessibleTabPage::disposing()
|
||||
|
||||
OUString VCLXAccessibleTabPage::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleTabPage";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleTabPage"_ustr;
|
||||
}
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@ sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName )
|
||||
|
||||
Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames()
|
||||
{
|
||||
return { "com.sun.star.awt.AccessibleTabPage" };
|
||||
return { u"com.sun.star.awt.AccessibleTabPage"_ustr };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -90,14 +90,14 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleTextField::getAccessibleParent(
|
||||
|
||||
OUString VCLXAccessibleTextField::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleTextField";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleTextField"_ustr;
|
||||
}
|
||||
|
||||
|
||||
Sequence< OUString > VCLXAccessibleTextField::getSupportedServiceNames()
|
||||
{
|
||||
return comphelper::concatSequences(VCLXAccessibleTextComponent::getSupportedServiceNames(),
|
||||
Sequence<OUString>{"com.sun.star.accessibility.AccessibleTextField"});
|
||||
Sequence<OUString>{u"com.sun.star.accessibility.AccessibleTextField"_ustr});
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -583,13 +583,13 @@ void SAL_CALL VCLXAccessibleToolBox::disposing()
|
||||
// XServiceInfo
|
||||
OUString VCLXAccessibleToolBox::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleToolBox";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleToolBox"_ustr;
|
||||
}
|
||||
|
||||
Sequence< OUString > VCLXAccessibleToolBox::getSupportedServiceNames()
|
||||
{
|
||||
return comphelper::concatSequences(VCLXAccessibleComponent::getSupportedServiceNames(),
|
||||
Sequence<OUString>{"com.sun.star.accessibility.AccessibleToolBox"});
|
||||
Sequence<OUString>{u"com.sun.star.accessibility.AccessibleToolBox"_ustr});
|
||||
}
|
||||
|
||||
// XAccessibleContext
|
||||
|
||||
@@ -280,7 +280,7 @@ void SAL_CALL VCLXAccessibleToolBoxItem::disposing()
|
||||
|
||||
OUString VCLXAccessibleToolBoxItem::getImplementationName()
|
||||
{
|
||||
return "com.sun.star.comp.toolkit.AccessibleToolBoxItem";
|
||||
return u"com.sun.star.comp.toolkit.AccessibleToolBoxItem"_ustr;
|
||||
}
|
||||
|
||||
sal_Bool VCLXAccessibleToolBoxItem::supportsService( const OUString& rServiceName )
|
||||
@@ -290,10 +290,10 @@ sal_Bool VCLXAccessibleToolBoxItem::supportsService( const OUString& rServiceNam
|
||||
|
||||
Sequence< OUString > VCLXAccessibleToolBoxItem::getSupportedServiceNames()
|
||||
{
|
||||
return {"com.sun.star.accessibility.AccessibleContext",
|
||||
"com.sun.star.accessibility.AccessibleComponent",
|
||||
"com.sun.star.accessibility.AccessibleExtendedComponent",
|
||||
"com.sun.star.accessibility.AccessibleToolBoxItem"};
|
||||
return {u"com.sun.star.accessibility.AccessibleContext"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleComponent"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleExtendedComponent"_ustr,
|
||||
u"com.sun.star.accessibility.AccessibleToolBoxItem"_ustr};
|
||||
}
|
||||
|
||||
// XAccessible
|
||||
|
||||
Reference in New Issue
Block a user