LibreOffice Module sw (master) 1
|
helper class to check if a frame has been deleted during an operation WARNING! This should only be used as a last and desperate means to make the code robust. More...
#include <frmtool.hxx>
Public Member Functions | |
SwDeletionChecker (const SwFrame *pFrame) | |
bool | HasBeenDeleted () const |
return true if mpFrame != 0 and mpFrame is not client of pRegIn false otherwise More... | |
Private Attributes | |
const SwFrame * | mpFrame |
const sw::BroadcastingModify * | mpRegIn |
helper class to check if a frame has been deleted during an operation WARNING! This should only be used as a last and desperate means to make the code robust.
Definition at line 607 of file frmtool.hxx.
SwDeletionChecker::SwDeletionChecker | ( | const SwFrame * | pFrame | ) |
Definition at line 4023 of file frmtool.cxx.
bool SwDeletionChecker::HasBeenDeleted | ( | ) | const |
return true if mpFrame != 0 and mpFrame is not client of pRegIn false otherwise
Can be used to check if a frame has been deleted.
Definition at line 4035 of file frmtool.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), mpFrame, mpRegIn, and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by GetTableSel(), and SwDoc::GetTabRows().
|
private |
Definition at line 610 of file frmtool.hxx.
Referenced by HasBeenDeleted().
|
private |
Definition at line 611 of file frmtool.hxx.
Referenced by HasBeenDeleted().