diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-23 19:37:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-25 12:09:16 +0100 |
commit | 611feba951c9d6904540472f91f34395de341dc6 (patch) | |
tree | 3a19839143dd018f3d47eb2f7db491fbb06bd264 /desktop/source | |
parent | 9485d88da541c8614582b9f927ae40b1c8991c56 (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>
(cherry picked from commit 4f404f2b18692276d157c4de9bfbb1f6370ad58d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162541
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-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 ebef6305c2ad..cbaa66024596 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -7430,6 +7430,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(); |