LibreOffice Module sw (master)  1
Macros | Functions
ndhints.cxx File Reference
#include <editeng/rsiditem.hxx>
#include <sal/log.hxx>
#include <svl/eitem.hxx>
#include <txatbase.hxx>
#include <ndhints.hxx>
#include <txtatr.hxx>
#include <pam.hxx>
#include <fmtautofmt.hxx>
#include <set>
Include dependency graph for ndhints.cxx:

Go to the source code of this file.

Macros

#define CHECK_ERR(cond, text)
 

Functions

static bool CompareSwpHtStart (const SwTextAttr *lhs, const SwTextAttr *rhs)
 sort order: Start, End (reverse), Which (reverse), (char style: sort number), at last the pointer More...
 

Macro Definition Documentation

#define CHECK_ERR (   cond,
  text 
)
Value:
if(!(cond)) \
{ \
SAL_WARN("sw.core", text); \
Resort(); \
return false; \
}

Definition at line 182 of file ndhints.cxx.

Referenced by SwpHints::Check().

Function Documentation

static bool CompareSwpHtStart ( const SwTextAttr lhs,
const SwTextAttr rhs 
)
static

sort order: Start, End (reverse), Which (reverse), (char style: sort number), at last the pointer

Definition at line 35 of file ndhints.cxx.

References SwTextAttr::GetAnyEnd(), SwTextAttr::GetStart(), RES_TXTATR_CHARFMT, static_txtattr_cast(), and SwTextAttr::Which().

Referenced by SwpHints::Check(), SwpHints::GetIndexOf(), SwpHints::Insert(), SwpHints::Resort(), and SwpHints::ResortStartMap().