diff options
author | Merov Linden <merov@lindenlab.com> | 2015-02-27 15:32:37 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2015-02-27 15:32:37 -0800 |
commit | 11d9bf65171016f8c248567dfc743f00b82e9896 (patch) | |
tree | cc0dbed061ff8da81eaff44707d4e8e7593640c1 /indra/llui/lltextutil.h | |
parent | 0177f56fc92536b7fe0c8139ae1e081fd09eacfe (diff) | |
parent | 9b45bc992edf8d049d8a1abe2e778870a493295a (diff) |
Pull merge from lindenlab/viewer-release
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 { |