kit/Kit.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 1521685c81b026cccbd0c6f9f20876838f2e6d4e
Author: Tor Lillqvist <[email protected]>
AuthorDate: Thu Nov 8 14:59:35 2018 +0200
Commit: Tor Lillqvist <[email protected]>
CommitDate: Thu Nov 8 15:01:45 2018 +0200
Avoid assertion failure in the MOBILEAPP case
The dummy Unit thing is of type Wsd, not Kit, there. Just put this
into #ifndef.
Change-Id: Ic709472154fd17761a82df9814e5d3746f96f607
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 2c21155d7..bc3ebeba1 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2109,9 +2109,10 @@ protected:
{
std::string message(data.data(), data.size());
+#ifndef MOBILEAPP
if (UnitKit::get().filterKitMessage(this, message))
return;
-
+#endif
std::vector<std::string> tokens = LOOLProtocol::tokenize(message);
Log::StreamLogger logger = Log::debug();
if (logger.enabled())
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits