diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-11-05 01:26:46 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-11-05 21:21:27 +0100 |
commit | 1d939b782235a62c965a4c8309869796b5838acf (patch) | |
tree | 3d7bc9b0d5395674adb9f009719906b2b0ec695b | |
parent | b65f295698d3c09a1d18336cb17ac29487266400 (diff) |
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 <thorsten.behrens@allotropia.de>
-rw-r--r-- | svx/source/gallery2/galleryfilestorage.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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++) { |