[Libreoffice-commits] online.git: 2 commits - kit/ChildSession.cpp tools/KitClient.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 9 08:22:01 UTC 2018


 kit/ChildSession.cpp |    2 +-
 tools/KitClient.cpp  |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bf9df8d2bdd032927559c771b2184e8db036e33f
Author:     Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Fri Nov 9 09:20:44 2018 +0100
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Fri Nov 9 09:20:44 2018 +0100

    Fix -Werror,-Wswitch warning
    
    Change-Id: Id6d25955ee99d0c547d92cfbea407135a75ca47b

diff --git a/tools/KitClient.cpp b/tools/KitClient.cpp
index cdceb8a7b..597f9fc63 100644
--- a/tools/KitClient.cpp
+++ b/tools/KitClient.cpp
@@ -83,6 +83,7 @@ extern "C"
             CASE(VALIDITY_LIST_BUTTON);
             CASE(CLIPBOARD_CHANGED);
             CASE(SIGNATURE_STATUS);
+            CASE(CONTEXT_CHANGED);
 #undef CASE
         }
         std::cout << " payload: " << payload << std::endl;
commit 24b4e7dd36fbe2af59a19e29298ecc177be7f94f
Author:     Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Fri Nov 9 09:19:40 2018 +0100
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Fri Nov 9 09:19:40 2018 +0100

    Fix -Werror,-Wstring-plus-int warning
    
    Change-Id: I047ffbb93fc261a0c39670287a616550de249a9b

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index b775c6784..be1cb831f 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1217,7 +1217,7 @@ bool ChildSession::askSignatureStatus(const char* /*buffer*/, int /*length*/, co
 
     int nStatus = getLOKitDocument()->getSignatureState();
 
-    sendTextFrame("signaturestatus: " + nStatus);
+    sendTextFrame("signaturestatus: " + std::to_string(nStatus));
     return true;
 }
 


More information about the Libreoffice-commits mailing list