summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-02 12:59:41 -0500
committerJonathan Yap <none@none>2012-02-02 12:59:41 -0500
commit6443701a3fc41eff2c48f6e57a79010cdb8339e2 (patch)
treeed5222a46175593c7bc651a2f177b2005ad3738c /indra
parentd3a7a7ad4bd3d2c921f6e829aa283fece0a9da6a (diff)
STORM-1738 Change a few llwarns to lldebugs
warn-on-failure:open-license
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llautocorrect.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llautocorrect.cpp b/indra/newview/llautocorrect.cpp
index cca5c6913f..c16787d637 100644
--- a/indra/newview/llautocorrect.cpp
+++ b/indra/newview/llautocorrect.cpp
@@ -337,7 +337,7 @@ std::string AutoCorrect::replaceWord(std::string currentWord)
args["REPLACEMENT"]=replacement;
LLNotificationsUtil::add("AutoReplace",args);
}
- llinfos << "found a word in list " << location.c_str() << " and it will replace " << currentWord.c_str() << " => " << replacement.c_str() << llendl;
+ lldebugs << "found a word in list " << location.c_str() << " and it will replace " << currentWord.c_str() << " => " << replacement.c_str() << llendl;
return replacement;
}
}
@@ -361,7 +361,6 @@ std::string AutoCorrect::replaceWords(std::string words)
for (; loc_it != loc_end; ++loc_it)
{
const std::string& location = (*loc_it).first;
- //llinfos << "location is "<<location.c_str() << " word is "<<currentWord.c_str()<<llendl;
const LLSD& loc_map = (*loc_it).second;
if((loc_map["data"].has(currentWord))&&(loc_map["enabled"].asBoolean()))
{
@@ -376,7 +375,7 @@ std::string AutoCorrect::replaceWords(std::string words)
args["REPLACEMENT"]=replacement;
LLNotificationsUtil::add("AutoReplace",args);
}
- llinfos << "found a word in list " << location.c_str() << " and it will replace " << currentWord.c_str() << " => " << replacement.c_str() << llendl;
+ ldebugs << "found a word in list " << location.c_str() << " and it will replace " << currentWord.c_str() << " => " << replacement.c_str() << llendl;
int wordStart = words.find(currentWord);
words.replace(wordStart,currentWord.length(),replacement);
return replaceWords(words);//lol recursion!