LibreOffice Module sw (master) 1
Macros | Functions
ndhints.cxx File Reference
#include <editeng/rsiditem.hxx>
#include <sal/log.hxx>
#include <txatbase.hxx>
#include <ndhints.hxx>
#include <txtatr.hxx>
#include <pam.hxx>
#include <fmtautofmt.hxx>
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

◆ CHECK_ERR

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

Definition at line 180 of file ndhints.cxx.

Function Documentation

◆ CompareSwpHtStart()

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 33 of file ndhints.cxx.

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

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