From bd4eb79446ca437ca9f6d0d14f49987f7aa69567 Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Fri, 24 Dec 2010 00:48:01 +0100 Subject: [PATCH] - internal : minor clean-up in lllineeditor.cpp --HG-- branch : Misc-Spellcheck --- indra/llui/lllineeditor.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index 933f647aee..98877f077c 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -51,9 +51,8 @@ #include "llclipboard.h" #include "llmenugl.h" -// [SL:KB] - Patch: Misc-Spellcheck | Checked: 2010-12-19 (Catznip-2.5.0a) | Added: Catznip-2.5.0a +// [SL:KB] - Patch: Misc-Spellcheck | Checked: 2010-12-19 (Catznip-2.5.0a) #include "llhunspell.h" -#include // [/SL:KB] // @@ -1847,7 +1846,6 @@ void LLLineEditor::draw() if ( (mNeedsSpellCheck) || (idxStart != idxPrevStart) || (idxEnd != idxPrevEnd) ) { const LLWString& wstrText = mText.getWString().substr(idxStart, idxEnd); - llinfos << "Checking: " << wstring_to_utf8str(wstrText) << llendl; U32 idxWordStart = 0, idxWordEnd = 0; mMisspellRanges.clear(); @@ -1872,7 +1870,6 @@ void LLLineEditor::draw() bool fCorrect = LLHunspellWrapper::instance().checkSpelling(strWord); if (!fCorrect) mMisspellRanges.push_back(std::pair(idxStart + idxWordStart, idxStart + idxWordEnd)); - llinfos << " - '" << strWord << ((fCorrect) ? "correct" : "misspelled") << llendl; } // Find the start of the next word