[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - kit/ChildSession.cpp
Tor Lillqvist
tml at collabora.com
Wed Apr 4 17:11:03 UTC 2018
kit/ChildSession.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 535cd202feff99172e3f9d460b66f84e3f9ad20d
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Jan 15 13:46:31 2018 +0200
We want notifications from vnd.sun.star.script: thingies, too
Change-Id: Ic407bcc1a2534854812c2732cc262f859d4adfe5
(cherry picked from commit 630d8d736c89850494f5bbd03229fb4566662a3e)
Reviewed-on: https://gerrit.libreoffice.org/52101
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 8c1eab3e4..e294b03da 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -933,7 +933,10 @@ bool ChildSession::unoCommand(const char* /*buffer*/, int /*length*/, const std:
}
// we need to get LOK_CALLBACK_UNO_COMMAND_RESULT callback when saving
- const bool bNotify = (tokens[1] == ".uno:Save" || tokens[1] == ".uno:Undo" || tokens[1] == ".uno:Redo");
+ const bool bNotify = (tokens[1] == ".uno:Save" ||
+ tokens[1] == ".uno:Undo" ||
+ tokens[1] == ".uno:Redo" ||
+ Util::startsWith(tokens[1], "vnd.sun.star.script:"));
std::unique_lock<std::mutex> lock(_docManager.getDocumentMutex());
More information about the Libreoffice-commits
mailing list