diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-26 12:06:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-27 09:27:44 +0200 |
commit | 62f6d6ee8bca918e17ae167582095f4302203bed (patch) | |
tree | 976279a87d1aca3b24cb37dcf6c4b6378f6d6fdd /linguistic | |
parent | bde131ad18620dea03531c59893c99be09e3ce4e (diff) |
use more string_view in tools/stream
Change-Id: I2a957cd72d71fea717734488cdb3670e0bcdd6f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114657
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/dicimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index 97a41ced3024..3ba3c9d2effa 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -450,9 +450,9 @@ ErrCode DictionaryNeo::saveEntries(const OUString &rURL) pStream->WriteLine("type: negative"); if (aDicName.endsWith(EXTENSION_FOR_TITLE_TEXT)) { - pStream->WriteLine("title: " + OUStringToOString( + pStream->WriteLine(OString("title: " + OUStringToOString( // strip EXTENSION_FOR_TITLE_TEXT - aDicName.subView(0, aDicName.lastIndexOf(EXTENSION_FOR_TITLE_TEXT)), eEnc)); + aDicName.subView(0, aDicName.lastIndexOf(EXTENSION_FOR_TITLE_TEXT)), eEnc))); } if (ERRCODE_NONE != (nErr = pStream->GetError())) return nErr; |