mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00
wsd: add getTokenInteger to Message
Change-Id: I2c145aa088082ef056b92c9864b34d8cc2f737cd Reviewed-on: https://gerrit.libreoffice.org/33861 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:

committed by
Ashod Nakashian

parent
cd85d8a7f1
commit
cd4e8205cf
@ -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; }
|
||||
|
Reference in New Issue
Block a user