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

New commits:
commit 1c4b4581585e5b4ba7c3e158994294a280696f7c
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Wed Feb 21 20:44:09 2018 -0500

    wsd: send valid empty JSON response
    
    Change-Id: I066c22dd0ccc64cb6a40b1ff260269b1bac2de37
    Reviewed-on: https://gerrit.libreoffice.org/50149
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 4b9199f8..f09f5b39 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -553,7 +553,7 @@ bool ChildSession::getCommandValues(const char* /*buffer*/, 
int /*length*/, cons
     else
     {
         values = getLOKitDocument()->getCommandValues(command.c_str());
-        success = sendTextFrame("commandvalues: " + std::string(values == 
nullptr ? "" : values));
+        success = sendTextFrame("commandvalues: " + std::string(values == 
nullptr ? "{}" : values));
         std::free(values);
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to