diff --git a/indra/llcommon/u64.cpp b/indra/llcommon/u64.cpp index 462865a77d29a8ebf14cdb86eeea40eba8fde660..02c2c15d2605afd205a52b64da26a67566980a73 100644 --- a/indra/llcommon/u64.cpp +++ b/indra/llcommon/u64.cpp @@ -66,15 +66,15 @@ std::string U64_to_str(U64 value) if (part1) { - res = absl::StrFormat("%u%07u%07u",part1,part2,part3); + res = llformat("%u%07u%07u",part1,part2,part3); } else if (part2) { - res = absl::StrFormat("%u%07u",part2,part3); + res = llformat("%u%07u",part2,part3); } else { - res = absl::StrFormat("%u",part3); + res = llformat("%u",part3); } return res; } diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 7175e97aa96223b0ae8cda604d2928725f716bfc..8fd7c4bae3d0bf202ff0bda76e2996b3bef59939 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2671,7 +2671,14 @@ BOOL LLTextEditor::importBuffer(const char* buffer, S32 length ) BOOL LLTextEditor::exportBuffer(std::string &buffer ) { - buffer = absl::StrFormat("Linden text version 1\n{\nText length %d\n%s}\n", getLength(), getText()); + std::ostringstream outstream(buffer); + + outstream << "Linden text version 1\n"; + outstream << "{\n"; + + outstream << llformat("Text length %d\n", getLength() ); + outstream << getText(); + outstream << "}\n"; return TRUE; }