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 955 of file txtfrm.hxx.

Constructor & Destructor Documentation

◆ SwFrameSwapper()

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::~SwFrameSwapper ( )

Definition at line 677 of file txtfrm.cxx.

References bUndo, and pFrame.

Member Data Documentation

◆ bUndo

bool SwFrameSwapper::bUndo
private

Definition at line 958 of file txtfrm.hxx.

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

◆ pFrame

const SwTextFrame* SwFrameSwapper::pFrame
private

Definition at line 957 of file txtfrm.hxx.

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


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