loolwsd: add missing alertAllUsers definition in LOOLKit

Change-Id: I75a08c3c856cc4ff783ea3a805283c7d81c02249
Reviewed-on: https://gerrit.libreoffice.org/31000
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
Ashod Nakashian 2016-11-19 10:05:28 -05:00 committed by Ashod Nakashian
parent 827c0865e7
commit 98020193d4

View file

@ -1644,10 +1644,17 @@ namespace Util
{
#ifndef BUILDING_TESTS
void alertAllUsers(const std::string& msg)
{
document->sendTextFrame(msg);
}
void alertAllUsers(const std::string& cmd, const std::string& kind)
{
document->sendTextFrame("errortoall: cmd=" + cmd + " kind=" + kind);
alertAllUsers("errortoall: cmd=" + cmd + " kind=" + kind);
}
#endif
}