MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / localNameToLcid

Function localNameToLcid

src/jsplugin/JSPlugin.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58static int localNameToLcid(QString name) {
59 for (const LOCAL_LCID_DATA* pData = g_lcid; ;pData++) {
60 if (!pData->name)
61 break;
62 //
63 if (0 == name.compare(pData->name, Qt::CaseInsensitive)) {
64 return pData->lcid;
65 }
66 }
67 return 0;
68}
69
70static void splitStringKey(QString key, QString& name, int& lcid)
71{

Callers 1

initStringsMethod · 0.85

Calls 1

compareMethod · 0.45

Tested by

no test coverage detected