diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-02-25 17:02:06 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-02-25 17:02:06 -0500 |
commit | 2ab9678455ce2e894273cae1efd2e10f4aaee42b (patch) | |
tree | ce679a7b789d75a3d36816438c5a2fd5a5edfd1a /indra/llui/lltextutil.h | |
parent | d2de97ad8e84eedd42f4a0fe5b258617a96f154b (diff) | |
parent | 9b45bc992edf8d049d8a1abe2e778870a493295a (diff) |
merge
Diffstat (limited to 'indra/llui/lltextutil.h')
-rwxr-xr-x | indra/llui/lltextutil.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llui/lltextutil.h b/indra/llui/lltextutil.h index 798f14d086..1be81ffd62 100755 --- a/indra/llui/lltextutil.h +++ b/indra/llui/lltextutil.h @@ -64,7 +64,15 @@ namespace LLTextUtil */ const std::string& formatPhoneNumber(const std::string& phone_str); - bool processUrlMatch(LLUrlMatch* match,LLTextBase* text_base, bool is_content_trusted); + /** + * Adds icon before url if need. + * + * @param[in] match an object with results of matching + * @param[in] text_base pointer to UI text object + * @param[in] is_content_trusted true if context is trusted + * @return reference to string with formatted phone number + */ + bool processUrlMatch(LLUrlMatch* match, LLTextBase* text_base, bool is_content_trusted); class TextHelpers { |