Kaydet (Commit) d1698027 authored tarafından Michael Stahl's avatar Michael Stahl

tdf#89867: editeng: fix crash on shutdown after changing AutoCorrect options

Since commit 5bff4b01 the
SvxAutoCorrCfg::pAutoCorrect is cleared by one terminate() listener but
then another terminate() listener calls Commit() on all modified
utl::ConfigItem and these two have a Commit() that does not clear the
modified flag so they are always modified.

Sadly there's no non-virtual Commit() wrapper that
calls ClearModified() on the base class...

Change-Id: I9ae220d78bb109c7bf0fdc544754a0686b357115
üst 9aae521b
......@@ -321,6 +321,7 @@ void SvxBaseAutoCorrCfg::Commit()
}
}
PutProperties(aNames, aValues);
ClearModified();
}
void SvxBaseAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */)
......@@ -640,6 +641,7 @@ void SvxSwAutoCorrCfg::Commit()
}
}
PutProperties(aNames, aValues);
ClearModified();
}
void SvxSwAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment