[Libreoffice-commits] online.git: kit/ChildSession.cpp
Tor Lillqvist
tml at collabora.com
Wed Mar 28 09:28:52 UTC 2018
kit/ChildSession.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 630d8d736c89850494f5bbd03229fb4566662a3e
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
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index cb85e9ba4..710c079b5 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