[Libreoffice-commits] online.git: kit/ChildSession.cpp
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 26 07:24:22 UTC 2020
kit/ChildSession.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 44b9f8f025f14408e9859e27781a9540f6bc9f3f
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Jun 24 11:30:13 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Jun 26 09:24:02 2020 +0200
jsdialog: change sendDialogEvent API parameter
WindowId with 64bit length is needed
Change-Id: I681841f60636722aa96846d4130b22183876a500
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97107
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 4b27da4c8..ca9701e9a 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1435,7 +1435,7 @@ bool ChildSession::dialogEvent(const char* /*buffer*/, int /*length*/, const Str
getLOKitDocument()->setView(_viewId);
- unsigned nLOKWindowId = std::stoi(tokens[1].c_str());
+ unsigned long long int nLOKWindowId = std::stoull(tokens[1].c_str());
getLOKitDocument()->sendDialogEvent(nLOKWindowId,
tokens.cat(' ', 2).c_str());
More information about the Libreoffice-commits
mailing list