diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:19:00 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:19:00 +0000 |
commit | 75445af096caa697a46b59672ced0304d0b20673 (patch) | |
tree | a82b67c2ef5365f209f55d9977fa5bfba63055b8 /dbaccess/source/ui/tabledesign | |
parent | f4fe16986da29a38035e00a207ebc8b019390737 (diff) |
INTEGRATION: CWS insight01 (1.10.10); FILE MERGED
2004/07/15 10:52:26 oj 1.10.10.3: add chkthis macros
2004/06/01 09:04:35 oj 1.10.10.2: RESYNC: (1.10-1.11); FILE MERGED
2004/01/21 13:07:36 oj 1.10.10.1: #111075# ongoing work
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableUndo.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx index ab178a3d6c97..c4c0cefb4a26 100644 --- a/dbaccess/source/ui/tabledesign/TableUndo.cxx +++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TableUndo.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: hr $ $Date: 2004-05-10 13:09:19 $ + * last change: $Author: hr $ $Date: 2004-08-02 16:19:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -296,6 +296,7 @@ OTableEditorDelUndoAct::OTableEditorDelUndoAct( OTableEditorCtrl* pOwner) : //------------------------------------------------------------------------- OTableEditorDelUndoAct::~OTableEditorDelUndoAct() { + DBG_DTOR(OTableEditorDelUndoAct,NULL); ////////////////////////////////////////////////////////////////////// // DeletedRowList loeschen ::std::vector<OTableRow*>::iterator aIter = m_aDeletedRows.begin(); @@ -303,8 +304,6 @@ OTableEditorDelUndoAct::~OTableEditorDelUndoAct() delete *aIter; m_aDeletedRows.clear(); - - DBG_DTOR(OTableEditorDelUndoAct,NULL); } //------------------------------------------------------------------------- @@ -367,6 +366,7 @@ OTableEditorInsUndoAct::OTableEditorInsUndoAct( OTableEditorCtrl* pOwner, //------------------------------------------------------------------------- OTableEditorInsUndoAct::~OTableEditorInsUndoAct() { + DBG_DTOR(OTableEditorInsUndoAct,NULL); ////////////////////////////////////////////////////////////////////// // InsertedRowList loeschen ::std::vector<OTableRow*>::iterator aIter = m_vInsertedRows.begin(); @@ -374,7 +374,6 @@ OTableEditorInsUndoAct::~OTableEditorInsUndoAct() delete *aIter; m_vInsertedRows.clear(); - DBG_DTOR(OTableEditorInsUndoAct,NULL); } //------------------------------------------------------------------------- @@ -502,7 +501,7 @@ void OPrimKeyUndoAct::Undo() // Die eingefuegten Keys loeschen for( nIndex = m_aInsKeys.FirstSelected(); nIndex != SFX_ENDOFSELECTION; nIndex=m_aInsKeys.NextSelected() ) { - OSL_ENSURE(nIndex <= pRowList->size(),"Index for undo isn't valid!"); + OSL_ENSURE(nIndex <= static_cast<long>(pRowList->size()),"Index for undo isn't valid!"); pRow = (*pRowList)[nIndex]; pRow->SetPrimaryKey( FALSE ); } @@ -511,7 +510,7 @@ void OPrimKeyUndoAct::Undo() // Die geloeschten Keys herstellen for( nIndex = m_aDelKeys.FirstSelected(); nIndex != SFX_ENDOFSELECTION; nIndex=m_aDelKeys.NextSelected() ) { - OSL_ENSURE(nIndex <= pRowList->size(),"Index for undo isn't valid!"); + OSL_ENSURE(nIndex <= static_cast<long>(pRowList->size()),"Index for undo isn't valid!"); pRow = (*pRowList)[nIndex]; pRow->SetPrimaryKey( TRUE ); } |