LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwDeletionChecker Class Reference

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>

Collaboration diagram for SwDeletionChecker:
[legend]

Public Member Functions

 SwDeletionChecker (const SwFrame *pFrame)
 
bool HasBeenDeleted ()
 return true if mpFrame != 0 and mpFrame is not client of pRegIn false otherwise More...
 

Private Attributes

const SwFramempFrame
 
const SwModifympRegIn
 

Detailed Description

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 561 of file frmtool.hxx.

Constructor & Destructor Documentation

SwDeletionChecker::SwDeletionChecker ( const SwFrame pFrame)

Definition at line 3662 of file frmtool.cxx.

Member Function Documentation

bool SwDeletionChecker::HasBeenDeleted ( )

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 3674 of file frmtool.cxx.

References SwIterator< TElementType, TSource, eMode >::First(), mpFrame, mpRegIn, and SwIterator< TElementType, TSource, eMode >::Next().

Referenced by GetTableSel(), and SwDoc::GetTabRows().

Member Data Documentation

const SwFrame* SwDeletionChecker::mpFrame
private

Definition at line 564 of file frmtool.hxx.

Referenced by HasBeenDeleted().

const SwModify* SwDeletionChecker::mpRegIn
private

Definition at line 565 of file frmtool.hxx.

Referenced by HasBeenDeleted().


The documentation for this class was generated from the following files: