summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-26 12:06:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 09:27:44 +0200
commit62f6d6ee8bca918e17ae167582095f4302203bed (patch)
tree976279a87d1aca3b24cb37dcf6c4b6378f6d6fdd /vcl/source/gdi
parentbde131ad18620dea03531c59893c99be09e3ce4e (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 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/TypeSerializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/TypeSerializer.cxx b/vcl/source/gdi/TypeSerializer.cxx
index 329c9b3f0e6a..4fc05ec5c5d7 100644
--- a/vcl/source/gdi/TypeSerializer.cxx
+++ b/vcl/source/gdi/TypeSerializer.cxx
@@ -392,7 +392,7 @@ void TypeSerializer::writeGraphic(const Graphic& rGraphic)
mrStream.WriteBytes(pVectorGraphicData->getBinaryDataContainer().getData(),
nSize);
// For backwards compatibility, used to serialize path
- mrStream.WriteUniOrByteString(OUString(), mrStream.GetStreamCharSet());
+ mrStream.WriteUniOrByteString(u"", mrStream.GetStreamCharSet());
}
else if (aGraphic.IsAnimated())
{