summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-03-12 19:38:01 -0700
committerMerov Linden <merov@lindenlab.com>2013-03-12 19:38:01 -0700
commitcb6574c905806feac3846733ca0ead77e431beb1 (patch)
tree0a6baaa1452568a7d3d8c5184e43431630edee95 /indra/llui/lltextbase.cpp
parent130c11c9fe9edc315229f30c338698f0463d0ee4 (diff)
CHUI-845 : Avoid some xml param parsing error that seems to be linked with crashers
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index a1b6d61cda..af29f3b56f 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -2337,7 +2337,6 @@ const LLWString& LLTextBase::getWText() const
S32 LLTextBase::getDocIndexFromLocalCoord( S32 local_x, S32 local_y, BOOL round, bool hit_past_end_of_line) const
{
// Figure out which line we're nearest to.
- LLRect visible_region = getVisibleDocumentRect();
LLRect doc_rect = mDocumentView->getRect();
S32 doc_y = local_y - doc_rect.mBottom;