diff options
Diffstat (limited to 'linguistic/source/spelldsp.cxx')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index fb58843a0efb..dbece3def648 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -59,7 +59,7 @@ class ProposalList { std::vector< OUString > aVec; - bool HasEntry( const OUString &rText ) const; + bool HasEntry( std::u16string_view rText ) const; public: ProposalList() {} @@ -76,7 +76,7 @@ public: } -bool ProposalList::HasEntry( const OUString &rText ) const +bool ProposalList::HasEntry( std::u16string_view rText ) const { bool bFound = false; size_t nCnt = aVec.size(); |