summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-10-28 13:32:18 +0100
committerOliver Specht <oliver.specht@cib.de>2015-10-29 06:45:33 +0000
commit4aab13f77e5dc218d067ca7efe3622f4ea780bf9 (patch)
tree0affad6ec115512f6e34ddc4d21b72c83efa99d4 /sw
parentb16cdb55caceb478e01da607fb41a475496f8eff (diff)
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/19640 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/app/swdll.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx
index cff230ce9313..0a33c882c7ee 100644
--- a/sw/source/uibase/app/swdll.cxx
+++ b/sw/source/uibase/app/swdll.cxx
@@ -156,6 +156,7 @@ SwDLL::~SwDLL()
{
// fdo#86494 SwAutoCorrect must be deleted before _FinitCore
SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get();
+ rACfg.Commit();
rACfg.SetAutoCorrect(0); // delete SwAutoCorrect before exit handlers
}