[Libreoffice-commits] online.git: loolwsd/LOOLKit.cpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Sun Nov 20 00:24:01 UTC 2016


 loolwsd/LOOLKit.cpp |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 98020193d40704cd762b78b29374b41b98091237
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sat Nov 19 10:05:28 2016 -0500

    loolwsd: add missing alertAllUsers definition in LOOLKit
    
    Change-Id: I75a08c3c856cc4ff783ea3a805283c7d81c02249
    Reviewed-on: https://gerrit.libreoffice.org/31000
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 4577003..7407384 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -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
 
 }


More information about the Libreoffice-commits mailing list