SL-19951 Delete unused code
parent
deb394e207
commit
4abecaa04b
|
|
@ -389,11 +389,6 @@ void LLFloaterEmojiPicker::fillEmojiGrid()
|
|||
}
|
||||
}
|
||||
|
||||
bool LLFloaterEmojiPicker::matchesCategory(const LLEmojiDescriptor* descr)
|
||||
{
|
||||
return std::find(descr->Categories.begin(), descr->Categories.end(), mSelectedCategory) != descr->Categories.end();
|
||||
}
|
||||
|
||||
bool LLFloaterEmojiPicker::matchesPattern(const LLEmojiDescriptor* descr)
|
||||
{
|
||||
if (descr->Name.find(mSearchPattern) != std::string::npos)
|
||||
|
|
@ -401,9 +396,6 @@ bool LLFloaterEmojiPicker::matchesPattern(const LLEmojiDescriptor* descr)
|
|||
for (const std::string& shortCode : descr->ShortCodes)
|
||||
if (shortCode.find(mSearchPattern) != std::string::npos)
|
||||
return true;
|
||||
for (const std::string& category : descr->Categories)
|
||||
if (category.find(mSearchPattern) != std::string::npos)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ public:
|
|||
private:
|
||||
void fillEmojiGrid();
|
||||
|
||||
bool matchesCategory(const LLEmojiDescriptor* descr);
|
||||
bool matchesPattern(const LLEmojiDescriptor* descr);
|
||||
|
||||
void onCategoryCommit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue