summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/standard/vclxaccessiblelist.hxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx
index 7d05067b0aa6..49f48d9b8b56 100644
--- a/accessibility/inc/standard/vclxaccessiblelist.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelist.hxx
@@ -74,7 +74,7 @@ public:
This string contains the text of the currently selected
item. It is used to retrieve the index of that item.
*/
- void UpdateSelection (const OUString& sTextOfSelectedItem);
+ void UpdateSelection (std::u16string_view sTextOfSelectedItem);
// XInterface
DECLARE_XINTERFACE()
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index ecb3274d0b0e..353312e6bbae 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -435,7 +435,7 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
state of the associated accessibility objects accordingly we exploit the
fact that the
*/
-void VCLXAccessibleList::UpdateSelection (const OUString& sTextOfSelectedItem)
+void VCLXAccessibleList::UpdateSelection (std::u16string_view sTextOfSelectedItem)
{
if ( m_aBoxType != COMBOBOX )
return;