summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/lib/init.cxx6
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();