summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llexpandabletextbox.h')
-rw-r--r--indra/newview/llexpandabletextbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llexpandabletextbox.h b/indra/newview/llexpandabletextbox.h
index 17a98e44d5..8094036081 100644
--- a/indra/newview/llexpandabletextbox.h
+++ b/indra/newview/llexpandabletextbox.h
@@ -121,7 +121,7 @@ public:
/**
* Returns text
*/
- virtual std::string getText() const { return mText; }
+ virtual const std::string& getText() const { return mText; }
/**
* Sets text