common/Message.hpp |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit cd4e8205cf9c8c4921b809fa67c5ff15bda9389c
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Tue Jan 31 22:46:46 2017 -0500

    wsd: add getTokenInteger to Message
    
    Change-Id: I2c145aa088082ef056b92c9864b34d8cc2f737cd
    Reviewed-on: https://gerrit.libreoffice.org/33861
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/common/Message.hpp b/common/Message.hpp
index a71cf56..d75b1e9 100644
--- a/common/Message.hpp
+++ b/common/Message.hpp
@@ -81,6 +81,11 @@ public:
     const std::string& firstLine() const { return _firstLine; }
     const std::string& operator[](size_t index) const { return _tokens[index]; 
}
 
+    bool getTokenInteger(const std::string& name, int& value)
+    {
+        return LOOLProtocol::getTokenInteger(_tokens, name, value);
+    }
+
     /// Return the abbreviated message for logging purposes.
     const std::string& abbr() const { return _abbr; }
     const std::string& id() const { return _id; }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to