[Libreoffice-commits] online.git: loolwsd/ChildProcessSession.cpp loolwsd/LOKitClient.cpp

Miklos Vajna vmiklos at collabora.co.uk
Thu Jan 28 09:17:35 PST 2016


 loolwsd/ChildProcessSession.cpp |    4 ++++
 loolwsd/LOKitClient.cpp         |    2 ++
 2 files changed, 6 insertions(+)

New commits:
commit 1312211f71d1d5a80738d14f418c5c6b8b651690
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jan 28 18:17:13 2016 +0100

    loolwsd: -Werror,-Wswitch

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index 7291d99..a21cf27 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -243,6 +243,10 @@ public:
         case LOK_CALLBACK_UNO_COMMAND_RESULT:
             _session.sendTextFrame("unocommandresult: " + rPayload);
             break;
+        case LOK_CALLBACK_DOCUMENT_PASSWORD:
+            break;
+        case LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY:
+            break;
         }
     }
 
diff --git a/loolwsd/LOKitClient.cpp b/loolwsd/LOKitClient.cpp
index b03c2fd..f46136d 100644
--- a/loolwsd/LOKitClient.cpp
+++ b/loolwsd/LOKitClient.cpp
@@ -64,6 +64,8 @@ extern "C"
             CASE(DOCUMENT_SIZE_CHANGED);
             CASE(SET_PART);
             CASE(UNO_COMMAND_RESULT);
+            CASE(DOCUMENT_PASSWORD);
+            CASE(DOCUMENT_PASSWORD_TO_MODIFY);
 #undef CASE
         }
         std::cout << " payload: " << pPayload << std::endl;


More information about the Libreoffice-commits mailing list