summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-08 22:53:56 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-09 20:48:34 +0300
commit5f91a3faf3ef0b9d0a6c3424fff119992dc0822a (patch)
tree31fe46c41da8a3f691cbc0e456f1b5f95f039a1a /indra/newview/llexpandabletextbox.cpp
parent130c50cf8d4de021f510b17fd02fcac88a67c5e6 (diff)
#5626 LLTextBase optimization
by caching string width
Diffstat (limited to 'indra/newview/llexpandabletextbox.cpp')
-rw-r--r--indra/newview/llexpandabletextbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp
index 5c46eb9d80..41ae47b645 100644
--- a/indra/newview/llexpandabletextbox.cpp
+++ b/indra/newview/llexpandabletextbox.cpp
@@ -52,7 +52,7 @@ public:
return copy;
}
- /*virtual*/ bool getDimensionsF32(S32 first_char, S32 num_chars, F32& width, S32& height) const
+ /*virtual*/ bool getDimensionsF32(S32 first_char, S32 num_chars, F32& width, S32& height)
{
// more label always spans width of text box
if (num_chars == 0)