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/unotools/eventcfg.hxx | |
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/unotools/eventcfg.hxx')
-rw-r--r-- | include/unotools/eventcfg.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx index 7185aef49695..d1cc6fe95e30 100644 --- a/include/unotools/eventcfg.hxx +++ b/include/unotools/eventcfg.hxx @@ -64,18 +64,20 @@ typedef std::vector< OUString > SupportedEventsVector; class GlobalEventConfig_Impl : public utl::ConfigItem { +private: EventBindingHash m_eventBindingHash; FrameVector m_lFrames; SupportedEventsVector m_supportedEvents; void initBindingInfo(); + virtual void ImplCommit() SAL_OVERRIDE; + public: GlobalEventConfig_Impl( ); virtual ~GlobalEventConfig_Impl( ); void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE; - void Commit() SAL_OVERRIDE; void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); |