diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 29095cf90..a796cdc99 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -4228,7 +4228,7 @@ void LLTextEditor::appendTextImpl(const std::string &new_text, const LLStyleSP s if (always_underline) link_style->mUnderline = true; appendAndHighlightText(link, part, link_style, !always_underline/*match.underlineOnHoverOnly()*/); }; - const auto&& cb = force_replace_links ? boost::bind(&LLTextEditor::replaceUrl, this, _1, _2, _3) : LLUrlLabelCallback(); + const auto&& cb = force_replace_links ? static_cast(boost::bind(&LLTextEditor::replaceUrl, this, _1, _2, _3)) : LLUrlRegistryNullCallback; while (!text.empty() && LLUrlRegistry::instance().findUrl(text, match, cb)) { start = match.getStart();