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.


#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))


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


#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 

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