From 1d939b782235a62c965a4c8309869796b5838acf Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Sun, 5 Nov 2023 01:26:46 +0100 Subject: reprobuild: don't write nondeterministic textencoding No need to write this legacy int16, that we ignore on read anyway. Change-Id: I5ee071aa0562b8e2718a1a83dffc543c9a104360 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158942 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- svx/source/gallery2/galleryfilestorage.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/gallery2/galleryfilestorage.cxx b/svx/source/gallery2/galleryfilestorage.cxx index 1838520ec60a..e9a8cd0aa8b6 100644 --- a/svx/source/gallery2/galleryfilestorage.cxx +++ b/svx/source/gallery2/galleryfilestorage.cxx @@ -697,7 +697,8 @@ SvStream& GalleryFileStorage::writeGalleryTheme(SvStream& rOStm, const GalleryTh rOStm.WriteUInt16(0x0004); write_uInt16_lenPrefixed_uInt8s_FromOUString(rOStm, pThm->GetThemeName(), RTL_TEXTENCODING_UTF8); - rOStm.WriteUInt32(nCount).WriteUInt16(osl_getThreadTextEncoding()); + rOStm.WriteUInt32(nCount); + rOStm.WriteUInt16(RTL_TEXTENCODING_UTF8); // unused on reading for (sal_uInt32 i = 0; i < nCount; i++) { -- cgit