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 --- xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'xmlsecurity/source') diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 835dc00b9cd4..5d412c700d7d 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -65,9 +65,12 @@ namespace { class SaveODFItem: public utl::ConfigItem { + private: sal_Int16 m_nODF; + + virtual void ImplCommit() SAL_OVERRIDE; + public: - virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; SaveODFItem(); //See group ODF in Common.xcs @@ -77,7 +80,7 @@ namespace } }; -void SaveODFItem::Commit() {} +void SaveODFItem::ImplCommit() {} void SaveODFItem::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} SaveODFItem::SaveODFItem(): utl::ConfigItem(OUString( -- cgit