From 765f6211b1371c1e40de386e715de6b3d1a8df86 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 11 Mar 2015 16:14:47 +0100 Subject: utl::ConfigItem::Commit() should call ClearModified() Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022 --- editeng/source/misc/acorrcfg.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'editeng/source') diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx index 9ca989c6cace..cac7cb924ba1 100644 --- a/editeng/source/misc/acorrcfg.cxx +++ b/editeng/source/misc/acorrcfg.cxx @@ -236,7 +236,7 @@ SvxBaseAutoCorrCfg::~SvxBaseAutoCorrCfg() { } -void SvxBaseAutoCorrCfg::Commit() +void SvxBaseAutoCorrCfg::ImplCommit() { Sequence aNames( GetPropertyNames() ); @@ -321,7 +321,6 @@ void SvxBaseAutoCorrCfg::Commit() } } PutProperties(aNames, aValues); - ClearModified(); } void SvxBaseAutoCorrCfg::Notify( const Sequence& /* aPropertyNames */) @@ -546,7 +545,7 @@ SvxSwAutoCorrCfg::~SvxSwAutoCorrCfg() { } -void SvxSwAutoCorrCfg::Commit() +void SvxSwAutoCorrCfg::ImplCommit() { Sequence aNames = GetPropertyNames(); @@ -641,7 +640,6 @@ void SvxSwAutoCorrCfg::Commit() } } PutProperties(aNames, aValues); - ClearModified(); } void SvxSwAutoCorrCfg::Notify( const Sequence& /* aPropertyNames */ ) -- cgit