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 --- unotools/source/config/optionsdlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'unotools/source/config/optionsdlg.cxx') diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx index 92a1ba278371..2683a8870acb 100644 --- a/unotools/source/config/optionsdlg.cxx +++ b/unotools/source/config/optionsdlg.cxx @@ -52,11 +52,12 @@ private: void ReadNode( const OUString& _rNode, NodeType _eType ); bool IsHidden( const OUString& _rPath ) const; + virtual void ImplCommit() SAL_OVERRIDE; + public: SvtOptionsDlgOptions_Impl(); virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; - virtual void Commit() SAL_OVERRIDE; static ::osl::Mutex & getInitMutex(); @@ -96,7 +97,7 @@ SvtOptionsDlgOptions_Impl::SvtOptionsDlgOptions_Impl() } } -void SvtOptionsDlgOptions_Impl::Commit() +void SvtOptionsDlgOptions_Impl::ImplCommit() { // nothing to commit } -- cgit