diff options
Diffstat (limited to 'l10ntools/source/propmerge.cxx')
-rw-r--r-- | l10ntools/source/propmerge.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index 2e2cf19e4cc6..0fa81e4fb5ac 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -24,11 +24,11 @@ namespace { //Find ascii escaped unicode sal_Int32 lcl_IndexOfUnicode( - const OString& rSource, const sal_Int32 nFrom = 0 ) + std::string_view rSource, const sal_Int32 nFrom = 0 ) { const OString sHexDigits = "0123456789abcdefABCDEF"; - sal_Int32 nIndex = rSource.indexOf( "\\u", nFrom ); - if( nIndex == -1 ) + size_t nIndex = rSource.find( "\\u", nFrom ); + if( nIndex == std::string_view::npos ) { return -1; } |