summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 18:08:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-28 15:41:02 +0200
commit39c3574b799690d4405d9318a5ba221b5feaccbe (patch)
tree40cacd124e11dd71b23affec3713c6f0fef27906 /linguistic
parent9658115370bf33c2fdb68a3b759cf2f9d9e7c6c1 (diff)
use string_view in INetURLObject::encode
Change-Id: Ib686c6872388b02c8939d3b65f6bd25cda348bc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114754 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/misc2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/misc2.cxx b/linguistic/source/misc2.cxx
index eeccadd5cb4a..86a81e5a1f06 100644
--- a/linguistic/source/misc2.cxx
+++ b/linguistic/source/misc2.cxx
@@ -144,7 +144,7 @@ std::vector< OUString > GetDictionaryPaths()
return GetMultiPaths_Impl( u"Dictionary", PATH_FLAG_ALL );
}
-OUString GetWritableDictionaryURL( const OUString &rDicName )
+OUString GetWritableDictionaryURL( std::u16string_view rDicName )
{
// new user writable dictionaries should be created in the 'writable' path
OUString aDirName( GetDictionaryWriteablePath() );