User: hr Date: 06/01/25 07:10:57 Modified: /dba/dbaccess/source/core/api/ RowSetCache.hxx
Log: INTEGRATION: CWS rowsetdel (1.25.76); FILE MERGED 2006/01/25 14:47:26 fs 1.25.76.5: manual RESYNC to HEAD 2006/01/20 09:01:24 fs 1.25.76.4: #i55731# deleteRows now implemented in the RowSet itself 2006/01/19 09:04:09 fs 1.25.76.3: merging the changes from CWS stlusagefix01, to ensure there are no interdependencies 2006/01/19 07:12:27 fs 1.25.76.2: #i55731# removed some unused code from the cache 2006/01/16 10:12:23 fs 1.25.76.1: #i55731# fixed the handling for deleting rows. In particular, remove m_bDeleted, since this is an attribute of the RowSet/Clone now, not the cache File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSetCache.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetCache.hxx?r1=1.26&r2=1.27 Delta lines: +7 -12 -------------------- --- RowSetCache.hxx 25 Jan 2006 13:43:41 -0000 1.26 +++ RowSetCache.hxx 25 Jan 2006 15:10:55 -0000 1.27 @@ -159,7 +159,6 @@ sal_Bool m_bBeforeFirst ; sal_Bool m_bAfterLast ; sal_Bool m_bInserted; - sal_Bool m_bDeleted ; sal_Bool m_bUpdated ; sal_Bool& m_bModified ; // points to the rowset member m_bModified sal_Bool& m_bNew ; // points to the rowset member m_bNew @@ -234,8 +233,8 @@ sal_Bool isAfterLast( ); sal_Bool isFirst( ); sal_Bool isLast( ); - void beforeFirst( ); - void afterLast( ); + sal_Bool beforeFirst( ); + sal_Bool afterLast( ); sal_Bool first( ); sal_Bool last( ); sal_Int32 getRow( ); @@ -245,7 +244,6 @@ void refreshRow( ); sal_Bool rowUpdated( ); sal_Bool rowInserted( ); - sal_Bool rowDeleted( ); // ::com::sun::star::sdbc::XResultSetUpdate sal_Bool insertRow(); @@ -253,13 +251,10 @@ void updateRow(); void updateRow( ORowSetMatrix::iterator& _rUpdateRow ); - void deleteRow(); + bool deleteRow(); void cancelRowUpdates( ); void moveToInsertRow( ); void moveToCurrentRow( ); - - // ::com::sun::star::sdbcx::XDeleteRows - ::com::sun::star::uno::Sequence< sal_Int32 > deleteRows( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rows ); }; } #endif --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
