summaryrefslogtreecommitdiffstats
path: root/include/unotools/compatibility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools/compatibility.hxx')
-rw-r--r--include/unotools/compatibility.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/compatibility.hxx b/include/unotools/compatibility.hxx
index 39674470e125..3c025224ea1b 100644
--- a/include/unotools/compatibility.hxx
+++ b/include/unotools/compatibility.hxx
@@ -85,7 +85,7 @@ class UNOTOOLS_DLLPUBLIC SvtCompatibilityEntry
return "_default";
}
- static Index getIndex( const OUString& rName )
+ static Index getIndex( std::u16string_view rName )
{
for ( int i = static_cast<int>(Index::Name); i < static_cast<int>(Index::INVALID); ++i )
if ( getName( Index(i) ) == rName )