[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - kit/ChildSession.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Mar 4 15:12:08 UTC 2019


 kit/ChildSession.cpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 0c8e72604b28809d3fe8e7c58b2f30f06f28f00f
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Jan 22 15:50:13 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Mar 4 16:11:46 2019 +0100

    exportSignAndUploadDocument() is not used on MOBILEAPP (and does not compile for iOS at least)
    
    Change-Id: I23bdd461c8dffb407e6aee2a378c47dc38239618
    Reviewed-on: https://gerrit.libreoffice.org/68331
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index f681fb1fc..662b0a664 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1404,6 +1404,8 @@ bool ChildSession::signDocumentContent(const char* buffer, int length, const std
     return bResult;
 }
 
+#ifndef MOBILEAPP
+
 bool ChildSession::exportSignAndUploadDocument(const char* buffer, int length, const std::vector<std::string>& /*tokens*/)
 {
     bool bResult = false;
@@ -1569,6 +1571,8 @@ bool ChildSession::exportSignAndUploadDocument(const char* buffer, int length, c
     return true;
 }
 
+#endif
+
 bool ChildSession::askSignatureStatus(const char* buffer, int length, const std::vector<std::string>& /*tokens*/)
 {
     std::unique_lock<std::mutex> lock(_docManager.getDocumentMutex());


More information about the Libreoffice-commits mailing list