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 | |
parent | deb394e2075e031bfe1472fdc3bc638360683c85 (diff) |
SL-19951 Delete unused code
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloateremojipicker.cpp | 8 | ||||
-rw-r--r-- | indra/newview/llfloateremojipicker.h | 1 |
2 files changed, 0 insertions, 9 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; } diff --git a/indra/newview/llfloateremojipicker.h b/indra/newview/llfloateremojipicker.h index b36e09fd5b..300d9a4d4a 100644 --- a/indra/newview/llfloateremojipicker.h +++ b/indra/newview/llfloateremojipicker.h @@ -57,7 +57,6 @@ public: private: void fillEmojiGrid(); - bool matchesCategory(const LLEmojiDescriptor* descr); bool matchesPattern(const LLEmojiDescriptor* descr); void onCategoryCommit(); |