From 9a049b660bf0295fd295ec9bff0340fca16a90b1 Mon Sep 17 00:00:00 2001 From: Rye Date: Sun, 26 Oct 2025 02:54:09 -0400 Subject: Fix invalid cast warning from ubsan Signed-off-by: Rye --- indra/llui/llcheckboxctrl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui/llcheckboxctrl.h') diff --git a/indra/llui/llcheckboxctrl.h b/indra/llui/llcheckboxctrl.h index 4068741978..3507d3f34a 100644 --- a/indra/llui/llcheckboxctrl.h +++ b/indra/llui/llcheckboxctrl.h @@ -124,6 +124,11 @@ public: virtual bool isDirty() const; // Returns true if the user has modified this control. virtual void resetDirty(); // Clear dirty state + LLTextBox* getTextBox() // Provide direct access to label textbox control + { + return mLabel; + } + protected: virtual std::string _getSearchText() const { -- cgit v1.3