From 4aab13f77e5dc218d067ca7efe3622f4ea780bf9 Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Wed, 28 Oct 2015 13:32:18 +0100 Subject: 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 Reviewed-by: Oliver Specht --- sw/source/uibase/app/swdll.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') 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 } -- cgit