aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-04-13 17:23:32 -0700
committerMcCabe Maxsted2011-04-13 17:23:32 -0700
commit36934849d9bc886ccff1d33316ef9f5e2278ce9b (patch)
tree88c1ad54e37be071e5080c0550c6b4a5b6bd1da9 /linden/indra/llui/lllineeditor.cpp
parentDon't create temporary vectors in spellchecking on every draw (diff)
downloadmeta-impy-36934849d9bc886ccff1d33316ef9f5e2278ce9b.zip
meta-impy-36934849d9bc886ccff1d33316ef9f5e2278ce9b.tar.gz
meta-impy-36934849d9bc886ccff1d33316ef9f5e2278ce9b.tar.bz2
meta-impy-36934849d9bc886ccff1d33316ef9f5e2278ce9b.tar.xz
Don't create temporary LLRect objects for spellchecking in every draw either
Diffstat (limited to 'linden/indra/llui/lllineeditor.cpp')
-rw-r--r--linden/indra/llui/lllineeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp
index 719b71a..453bb50 100644
--- a/linden/indra/llui/lllineeditor.cpp
+++ b/linden/indra/llui/lllineeditor.cpp
@@ -2038,7 +2038,7 @@ void LLLineEditor::autoCorrectText()
2038 } 2038 }
2039} 2039}
2040 2040
2041void LLLineEditor::drawMisspelled(LLRect background) 2041void LLLineEditor::drawMisspelled(const LLRect& background)
2042{ 2042{
2043 if (!mReadOnly && mSpellCheckable) 2043 if (!mReadOnly && mSpellCheckable)
2044 { 2044 {