loolwsd/LOOLProtocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 466ffc25dba5a893de8faaaecebd600b950027a0 Author: Ashod Nakashian <[email protected]> Date: Wed Apr 27 20:30:20 2016 -0400 Use [] around messages as they are more readable than '' Change-Id: Id172bb03e8fa9dd148612d756d4a74fc501ea95c Reviewed-on: https://gerrit.libreoffice.org/24469 Reviewed-by: Ashod Nakashian <[email protected]> Tested-by: Ashod Nakashian <[email protected]> diff --git a/loolwsd/LOOLProtocol.cpp b/loolwsd/LOOLProtocol.cpp index 9420be8..a11d6d0 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 std::string('[' + firstLine + "]..."); } - return std::string('\'' + firstLine + '\''); + return std::string('[' + firstLine + ']'); } }; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
