[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 30 04:21:20 PDT 2015
sw/source/uibase/shells/textsh1.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 61693775969fb7c8bfadfae72405225411ce79ea
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Oct 29 17:52:38 2015 +0100
tdf#93509: Commit at the right time
when the change is made, not during exit (as did
4aab13f77e5dc218d067ca7efe3622f4ea780bf9 "tdf#93509: crash on storing auto
correction config fixed," which caused PythonTest_sw_python to crash during
exit)
(cherry picked from commit fc7df6f9a6caf975867f4fcb87b5b0c86ed1ee84)
Conflicts:
sw/source/uibase/app/swdll.cxx
Change-Id: I0e9c264ae3fee7fdb732d36f42ebbb477557a644
Reviewed-on: https://gerrit.libreoffice.org/19673
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht at cib.de>
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 61398c8..48e3b1b 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -666,6 +666,7 @@ void SwTextShell::Execute(SfxRequest &rReq)
if( bSet != rACfg.IsAutoFormatByInput() )
{
rACfg.SetAutoFormatByInput( bSet );
+ rACfg.Commit();
GetView().GetViewFrame()->GetBindings().Invalidate( nSlot );
if ( !pItem )
rReq.AppendItem( SfxBoolItem( GetPool().GetWhich(nSlot), bSet ) );
More information about the Libreoffice-commits
mailing list