summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-09-02 22:14:42 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-09-04 10:16:46 +0300
commit4cc0edb189c4deaa205f986d20a6959aa83fb25c (patch)
tree29b94ccfddb625e664ddf072a4351745240cc597 /indra/llui/llbutton.h
parent57ab1a410f9cb3534bb403e034743505758579d8 (diff)
viewer#2411 Cleanup
Diffstat (limited to 'indra/llui/llbutton.h')
-rw-r--r--indra/llui/llbutton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llbutton.h b/indra/llui/llbutton.h
index 23a3a05e65..6a389f0554 100644
--- a/indra/llui/llbutton.h
+++ b/indra/llui/llbutton.h
@@ -253,8 +253,8 @@ public:
void setDisabledLabelColor(const LLUIColor& c);
void setFont(const LLFontGL* font);
- const LLFontGL* getFont() const { return mGLFont; }
- const std::string& getText() const { return getCurrentLabel().getString(); }
+ const LLFontGL* getFont() const override { return mGLFont; }
+ const std::string& getText() const override { return getCurrentLabel().getString(); }
S32 getLastDrawCharsCount() const { return mLastDrawCharsCount; }
bool labelIsTruncated() const;
@@ -392,7 +392,7 @@ private:
LLFontVertexBuffer mFontBuffer;
protected:
- virtual std::string _getSearchText() const
+ virtual std::string _getSearchText() const override
{
return getLabelUnselected() + getToolTip();
}