summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-04-07 13:20:57 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-04-09 08:14:44 +0000
commit94c71c5cc9d94568b2b123e6c26104c3c07fcc52 (patch)
tree36e2cb117b3b6e941eb19e87a5e38c7aedcb5e9a /sw
parent8484671379cacd4d1541c2e0629b99f7fbcbd4dc (diff)
tdf#90441: sw: *another* crash on shutdown after changing SvxAutoCorrCfg
The AutoText dialog instantly applies changes to SvxAutoCorrCfg and never calls Commit(). Change-Id: I8e5f8b42fff117bd4c4a07a3a31b9943ada43f34 (cherry picked from commit 37674e1f2dde65848cdad3b630970de8eca6b44e) Reviewed-on: https://gerrit.libreoffice.org/15186 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/glossary.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 179c64a5693f..77c08c4aff03 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -804,6 +804,7 @@ IMPL_LINK( SwGlossaryDlg, CheckBoxHdl, CheckBox *, pBox )
rCfg.SetSaveRelFile(bCheck);
else
rCfg.SetSaveRelNet(bCheck);
+ rCfg.Commit();
return 0;
}