[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 15 10:59:50 UTC 2020
wsd/LOOLWSD.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit d7453ac243508b96fcda32a21a8de156d6242df6
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Jul 15 12:44:52 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Jul 15 12:59:31 2020 +0200
Attempt to fix Android build: endLoadResult() can't be inside #if MOBILEAPP
Also helps the iOS build, but there is another recent change that
broke it more.
Change-Id: If750bfa3e89ee07d97a91996223012e309b0b712
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98811
Tested-by: Tor Lillqvist <tml at collabora.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 1df218e83..7c353e6b1 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -690,6 +690,13 @@ inline std::string getServiceURI(const std::string &sub, bool asAdmin = false)
#endif
+} // anonymous namespace
+
+#endif // MOBILEAPP
+
+namespace
+{
+
void sendLoadResult(std::shared_ptr<ClientSession> clientSession, bool success,
const std::string &errorMsg)
{
@@ -706,8 +713,6 @@ void sendLoadResult(std::shared_ptr<ClientSession> clientSession, bool success,
} // anonymous namespace
-#endif // MOBILEAPP
-
std::atomic<uint64_t> LOOLWSD::NextConnectionId(1);
#if !MOBILEAPP
More information about the Libreoffice-commits
mailing list