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 /svl/source/items | |
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 'svl/source/items')
-rw-r--r-- | svl/source/items/stringio.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/stringio.cxx b/svl/source/items/stringio.cxx index e937e77cc72d..5345e165aa34 100644 --- a/svl/source/items/stringio.cxx +++ b/svl/source/items/stringio.cxx @@ -26,7 +26,7 @@ OUString readByteString(SvStream& rStream) return rStream.ReadUniOrByteString(rStream.GetStreamCharSet()); } -void writeByteString(SvStream& rStream, const OUString& rString) +void writeByteString(SvStream& rStream, std::u16string_view rString) { rStream.WriteUniOrByteString(rString, rStream.GetStreamCharSet()); } |