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

Helper class which can be used instead of the macros if a function has too many returns. More...

#include <txtfrm.hxx>

Collaboration diagram for SwFrameSwapper:
[legend]

Public Member Functions

 SwFrameSwapper (const SwTextFrame *pFrame, bool bSwapIfNotSwapped)
 
 ~SwFrameSwapper ()
 

Private Attributes

const SwTextFramepFrame
 
bool bUndo
 

Detailed Description

Helper class which can be used instead of the macros if a function has too many returns.

Definition at line 918 of file txtfrm.hxx.

Constructor & Destructor Documentation

SwFrameSwapper::SwFrameSwapper ( const SwTextFrame pFrame,
bool  bSwapIfNotSwapped 
)

Definition at line 670 of file txtfrm.cxx.

References bUndo, SwTextFrame::IsSwapped(), SwFrame::IsVertical(), and pFrame.

SwFrameSwapper::~SwFrameSwapper ( )

Definition at line 680 of file txtfrm.cxx.

References bUndo, and pFrame.

Member Data Documentation

bool SwFrameSwapper::bUndo
private

Definition at line 921 of file txtfrm.hxx.

Referenced by SwFrameSwapper(), and ~SwFrameSwapper().

const SwTextFrame* SwFrameSwapper::pFrame
private

Definition at line 920 of file txtfrm.hxx.

Referenced by SwFrameSwapper(), and ~SwFrameSwapper().


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