loolwsd/LOOLProtocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ac4f9857ead3d1ac91f6175165a61eb9031f9c47 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Tue May 3 20:56:34 2016 -0400 loolwsd: getAbbreviatedMessage adds no brackets Change-Id: Ic26feda6fa8e9e93548624f9d6b6fd84f085eb19 Reviewed-on: https://gerrit.libreoffice.org/24638 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/LOOLProtocol.cpp b/loolwsd/LOOLProtocol.cpp index a11d6d0..bdc32cd 100644 --- a/loolwsd/LOOLProtocol.cpp +++ b/loolwsd/LOOLProtocol.cpp @@ -192,10 +192,10 @@ namespace LOOLProtocol // If first line is less than the length (minus newline), add eclipes. if (firstLine.size() < static_cast<std::string::size_type>(length) - 1) { - return std::string('[' + firstLine + "]..."); + return firstLine + "..."; } - return std::string('[' + firstLine + ']'); + return firstLine; } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits