wsd/DocumentBroker.cpp |    2 ++
 wsd/DocumentBroker.hpp |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 863111c952300efd3a3b13b9dcc4d41c8dc85405
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Thu Dec 12 09:56:43 2019 +0100
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Dec 12 09:57:44 2019 +0100

    mobile: Fix build.
    
    Change-Id: Ie0f08a984b9333ca65d0fd52c71e358b7fd5f771
    Reviewed-on: https://gerrit.libreoffice.org/85018
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 700a56fbf..77204dd69 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -2207,6 +2207,7 @@ ConvertToBroker::ConvertToBroker(const std::string& uri,
     _limitLifeSeconds = limit_convert_secs;
 }
 
+#if !MOBILEAPP
 bool ConvertToBroker::startConversion(SocketDisposition &disposition, const 
std::string &id)
 {
     std::shared_ptr<ConvertToBroker> docBroker = 
std::static_pointer_cast<ConvertToBroker>(shared_from_this());
@@ -2252,6 +2253,7 @@ bool ConvertToBroker::startConversion(SocketDisposition 
&disposition, const std:
         });
     return true;
 }
+#endif
 
 void ConvertToBroker::dispose()
 {
diff --git a/wsd/DocumentBroker.hpp b/wsd/DocumentBroker.hpp
index 5632c56b6..07f967579 100644
--- a/wsd/DocumentBroker.hpp
+++ b/wsd/DocumentBroker.hpp
@@ -532,8 +532,10 @@ public:
                     const std::string& sOptions);
     virtual ~ConvertToBroker();
 
+#if !MOBILEAPP
     /// Move socket to this broker for response & do conversion
     bool startConversion(SocketDisposition &disposition, const std::string 
&id);
+#endif
 
     /// Called when removed from the DocBrokers list
     void dispose() override;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to