Kaydet (Commit) 4aab13f7 authored tarafından Oliver Specht's avatar Oliver Specht

tdf#93509: crash on storing auto correction config fixed

fix of tdf#86494 removed the pAutoCorrect which is required to store the config
committing the config before fixes the crash

Change-Id: If049d5ad1e62711d4ec66ec6cca15940f7edba90
Reviewed-on: https://gerrit.libreoffice.org/19640Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarOliver Specht <oliver.specht@cib.de>
üst b16cdb55
...@@ -156,6 +156,7 @@ SwDLL::~SwDLL() ...@@ -156,6 +156,7 @@ SwDLL::~SwDLL()
{ {
// fdo#86494 SwAutoCorrect must be deleted before _FinitCore // fdo#86494 SwAutoCorrect must be deleted before _FinitCore
SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get(); SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get();
rACfg.Commit();
rACfg.SetAutoCorrect(0); // delete SwAutoCorrect before exit handlers rACfg.SetAutoCorrect(0); // delete SwAutoCorrect before exit handlers
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment