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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 22 13:50:45 UTC 2019


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

New commits:
commit 669e90de20383e4d11f6bae973489f62e05649a9
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Jan 22 15:50:13 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Jan 22 15:50:13 2019 +0200

    exportSignAndUploadDocument() is not used on MOBILEAPP (and does not compile for iOS at least)
    
    Change-Id: I23bdd461c8dffb407e6aee2a378c47dc38239618

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index 2b8534c01..583e83b72 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1402,6 +1402,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;
@@ -1567,6 +1569,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