diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-11 16:14:47 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-11 16:50:00 +0100 |
commit | 765f6211b1371c1e40de386e715de6b3d1a8df86 (patch) | |
tree | 0d0a8d92097a628ac72316593db9561c23948685 /include/svl | |
parent | 0bd20a26686d01efea4c64c1f4aac53ae1c142aa (diff) |
utl::ConfigItem::Commit() should call ClearModified()
Rename the virtual function, and add a new non-virtual Commit() to do
that.
Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/languageoptions.hxx | 3 | ||||
-rw-r--r-- | include/svl/srchitem.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/svl/languageoptions.hxx b/include/svl/languageoptions.hxx index 428e5ca79a22..8c0ea1af24e8 100644 --- a/include/svl/languageoptions.hxx +++ b/include/svl/languageoptions.hxx @@ -98,11 +98,12 @@ private: bool isKeyboardLayoutTypeInstalled(sal_Int16 scriptType) const; + virtual void ImplCommit() SAL_OVERRIDE; + public: SvtSystemLanguageOptions(); virtual ~SvtSystemLanguageOptions(); - virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence< OUString >& rPropertyNames ) SAL_OVERRIDE; LanguageType GetWin16SystemLanguage() const; diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx index 531d95e679d3..2b1eeb627b06 100644 --- a/include/svl/srchitem.hxx +++ b/include/svl/srchitem.hxx @@ -81,6 +81,8 @@ class SVL_DLLPUBLIC SvxSearchItem : bool bContent; // search in content bool bAsianOptions; // use asian options? + virtual void ImplCommit() SAL_OVERRIDE; + public: TYPEINFO_OVERRIDE(); @@ -99,7 +101,6 @@ public: // ConfigItem virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) SAL_OVERRIDE; - virtual void Commit() SAL_OVERRIDE; SvxSearchCmd GetCommand() const { return nCommand; } void SetCommand(SvxSearchCmd nNewCommand) { nCommand = nNewCommand; } |