LibreOffice Module vcl (master) 1
Macros | Functions
accel.cxx File Reference
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <accel.hxx>
Include dependency graph for accel.cxx:

Go to the source code of this file.

Macros

#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))
 

Functions

static sal_uInt16 ImplAccelEntryGetIndex (const ImplAccelList *pList, sal_uInt16 nId, sal_uInt16 *pIndex=nullptr)
 
static void ImplAccelEntryInsert (ImplAccelList *pList, std::unique_ptr< ImplAccelEntry > pEntry)
 

Macro Definition Documentation

◆ ACCELENTRY_NOTFOUND

#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))

Definition at line 24 of file accel.cxx.

Function Documentation

◆ ImplAccelEntryGetIndex()

static sal_uInt16 ImplAccelEntryGetIndex ( const ImplAccelList pList,
sal_uInt16  nId,
sal_uInt16 *  pIndex = nullptr 
)
static

Definition at line 26 of file accel.cxx.

References ACCELENTRY_NOTFOUND, mnId, nCount, and nId.

Referenced by Accelerator::GetAccel(), and ImplAccelEntryInsert().

◆ ImplAccelEntryInsert()

static void ImplAccelEntryInsert ( ImplAccelList pList,
std::unique_ptr< ImplAccelEntry pEntry 
)
static