summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.h
diff options
context:
space:
mode:
authormaxim@mnikolenko <maxim@mnikolenko>2014-05-28 13:20:12 +0300
committermaxim@mnikolenko <maxim@mnikolenko>2014-05-28 13:20:12 +0300
commit72dba8742c3120fcb76b42aa6ede796bdad8554d (patch)
treed33890b434ad892496e5fc70b0f2cdad7c69907a /indra/llui/lltextbase.h
parentc84217cc5bf49354b39ea3521e4805c791a15c8c (diff)
MAINT-4070 FIXED Use icon in urls when content is trusted.
Diffstat (limited to 'indra/llui/lltextbase.h')
-rwxr-xr-xindra/llui/lltextbase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.h b/indra/llui/lltextbase.h
index d1f66b6cfe..ecbfdaf84c 100755
--- a/indra/llui/lltextbase.h
+++ b/indra/llui/lltextbase.h
@@ -367,7 +367,9 @@ public:
bool getWordWrap() { return mWordWrap; }
bool getUseEllipses() { return mUseEllipses; }
bool truncate(); // returns true of truncation occurred
+
bool isContentTrusted() {return mTrustedContent;}
+ void setContentTrusted(bool trusted_content) { mTrustedContent = trusted_content; }
// TODO: move into LLTextSegment?
void createUrlContextMenu(S32 x, S32 y, const std::string &url); // create a popup context menu for the given Url