kit/ChildSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 44b9f8f025f14408e9859e27781a9540f6bc9f3f
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Wed Jun 24 11:30:13 2020 +0200
Commit:     Szymon Kłos <szymon.k...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@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());
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to