Tag: cws_src680_dba29 User: fs Date: 05/04/01 02:57:11 Modified: /dba/dbaccess/source/core/dataaccess/ commitlistener.cxx, commitlistener.hxx
Log: #i46412# dispose File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: commitlistener.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/commitlistener.cxx?r1=1.2&r2=1.2.118.1 Delta lines: +7 -2 ------------------- --- commitlistener.cxx 2 Aug 2004 15:07:47 -0000 1.2 +++ commitlistener.cxx 1 Apr 2005 10:57:08 -0000 1.2.118.1 @@ -2,9 +2,9 @@ * * $RCSfile: commitlistener.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.118.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:07:47 $ + * last change: $Author: fs $ $Date: 2005/04/01 10:57:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,6 +74,11 @@ OChildCommitListen_Impl::~OChildCommitListen_Impl() {} + +void OChildCommitListen_Impl::dispose() +{ + m_xModiable = Reference< ::com::sun::star::util::XModifiable >(); +} void SAL_CALL OChildCommitListen_Impl::preCommit( const EventObject& aEvent ) throw (Exception, RuntimeException) File [changed]: commitlistener.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/commitlistener.hxx?r1=1.2&r2=1.2.118.1 Delta lines: +7 -2 ------------------- --- commitlistener.hxx 2 Aug 2004 15:07:59 -0000 1.2 +++ commitlistener.hxx 1 Apr 2005 10:57:09 -0000 1.2.118.1 @@ -2,9 +2,9 @@ * * $RCSfile: commitlistener.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.118.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 15:07:59 $ + * last change: $Author: fs $ $Date: 2005/04/01 10:57:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -96,6 +96,11 @@ virtual void SAL_CALL reverted( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); + + /** disposes the object, so it resets it's XModifiable to <NULL/>, and becomes + defunc + */ + void dispose(); }; //........................................................................ } // namespace dbaccess --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
