[Libreoffice-commits] online.git: loolwsd/LOOLProtocol.hpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon May 2 02:53:09 UTC 2016


 loolwsd/LOOLProtocol.hpp |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit c75725393991998ad38ec4a73fbb970feb0c99d0
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun May 1 20:31:40 2016 -0400

    loolwsd: getAbbreviatedMessage from std::vector<char>
    
    Change-Id: Ib901fb786839d48604a99a0eab0c7dd048e2004d
    Reviewed-on: https://gerrit.libreoffice.org/24578
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/LOOLProtocol.hpp b/loolwsd/LOOLProtocol.hpp
index 673e75f..05cc4b4 100644
--- a/loolwsd/LOOLProtocol.hpp
+++ b/loolwsd/LOOLProtocol.hpp
@@ -110,6 +110,12 @@ namespace LOOLProtocol
     {
         return getAbbreviatedMessage(message.data(), message.size());
     }
+
+    inline
+    std::string getAbbreviatedMessage(const std::vector<char>& message)
+    {
+        return getAbbreviatedMessage(message.data(), message.size());
+    }
 };
 
 #endif


More information about the Libreoffice-commits mailing list