diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-07-06 11:17:20 +0200 |
---|---|---|
committer | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-07-06 11:17:20 +0200 |
commit | 4abecaa04bd003136ed027e3892a2ca13d895936 (patch) | |
tree | e762f75d8f20feb75419e6ba40909fbf7e9b27c7 /indra/newview/llfloateremojipicker.cpp | |
parent | deb394e2075e031bfe1472fdc3bc638360683c85 (diff) |
SL-19951 Delete unused code
Diffstat (limited to 'indra/newview/llfloateremojipicker.cpp')
-rw-r--r-- | indra/newview/llfloateremojipicker.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp index e94fc203f0..f63062f03a 100644 --- a/indra/newview/llfloateremojipicker.cpp +++ b/indra/newview/llfloateremojipicker.cpp @@ -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; } |