summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/app/swdll.cxx1
-rw-r--r--sw/source/uibase/shells/textsh1.cxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx
index 0a33c882c7ee..cff230ce9313 100644
--- a/sw/source/uibase/app/swdll.cxx
+++ b/sw/source/uibase/app/swdll.cxx
@@ -156,7 +156,6 @@ SwDLL::~SwDLL()
{
// fdo#86494 SwAutoCorrect must be deleted before _FinitCore
SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get();
- rACfg.Commit();
rACfg.SetAutoCorrect(0); // delete SwAutoCorrect before exit handlers
}
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 0c042bb94e2c..c57ede29641b 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -702,6 +702,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 ) );