LibreOffice Module sw (master) 1
|
Helper class which can be used instead of the macros if a function has too many returns. More...
#include <txtfrm.hxx>
Public Member Functions | |
SwFrameSwapper (const SwTextFrame *pFrame, bool bSwapIfNotSwapped) | |
~SwFrameSwapper () | |
Private Attributes | |
const SwTextFrame * | pFrame |
bool | bUndo |
Helper class which can be used instead of the macros if a function has too many returns.
Definition at line 955 of file txtfrm.hxx.
SwFrameSwapper::SwFrameSwapper | ( | const SwTextFrame * | pFrame, |
bool | bSwapIfNotSwapped | ||
) |
Definition at line 667 of file txtfrm.cxx.
References bUndo, SwTextFrame::IsSwapped(), SwFrame::IsVertical(), and pFrame.
SwFrameSwapper::~SwFrameSwapper | ( | ) |
Definition at line 677 of file txtfrm.cxx.
|
private |
Definition at line 958 of file txtfrm.hxx.
Referenced by SwFrameSwapper(), and ~SwFrameSwapper().
|
private |
Definition at line 957 of file txtfrm.hxx.
Referenced by SwFrameSwapper(), and ~SwFrameSwapper().