diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-23 19:37:54 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-01-23 21:55:30 +0100 |
commit | d2895906f20e756205a9c540bf91306f030aaa35 (patch) | |
tree | de03c4db8cf5b434665466f7bb186482a640d883 | |
parent | 86de5c5e7d54fda08ae5c8fb5f13dc57ec3ab9a8 (diff) |
preload sal_textenc
use RTL_TEXTENCODING_MS_1250 to trigger Impl_getTextEncodingData to
dlopen sal_textenclo early
Change-Id: Ie96b81615cbd4b479d731916518835b2f72adf6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162477
Reviewed-by: Neil Guertin <neil.guertin@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | desktop/source/lib/init.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index faa6d44cd447..80442dc5ffa2 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -7435,6 +7435,12 @@ static void preloadData() if(bAbort) std::cerr << "CheckExtensionDependencies failed" << std::endl; + std::cerr << "Preload textencodings"; // sal_textenc + // Use RTL_TEXTENCODING_MS_1250 to trigger Impl_getTextEncodingData + // to dlopen sal_textenclo + (void)OUStringToOString(u"arbitrary string", RTL_TEXTENCODING_MS_1250); + std::cerr << "\n"; + // setup LanguageTool config before spell checking init setLanguageToolConfig(); |