[Libreoffice-commits] core.git: desktop/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 29 17:04:22 UTC 2020
desktop/source/lib/init.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 64857ffa263bba786f7a4af9420a93f824837664
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Jan 29 18:01:13 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jan 29 18:03:47 2020 +0100
desktop: document what doc_iniUnoCommands() does
Change-Id: I961e563d92c6fdb783942de4b295d5d8b1bf2db3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87701
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index acea0d342097..90bbd6c4d797 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2539,6 +2539,12 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha
return false;
}
+/**
+ * Initialize UNO commands, in the sense that from now on, the LOK client gets updates for status
+ * changes of these commands. This is necessary, because (unlike in the desktop case) there are no
+ * toolbars hosting widgets these UNO commands, so no such status updates would be sent to the
+ * headless LOK clients out of the box.
+ */
static void doc_iniUnoCommands ()
{
SolarMutexGuard aGuard;
More information about the Libreoffice-commits
mailing list