libreofficekit/qa/tilebench/tilebench.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 06ca0ae15f2c467cb69561c43779cc09d5666227
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Mon Jul 20 10:44:16 2020 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Mon Jul 20 13:14:46 2020 +0200

    We apparently need to call Application::Quit() on iOS now
    
    (This file is included in ios/UnitTest/UnitTest/ViewController.mm.)
    
    Change-Id: I79170785db43d9bdb3aca6f500161862eb6a111b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99028
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99031
    Tested-by: Jenkins

diff --git a/libreofficekit/qa/tilebench/tilebench.cxx 
b/libreofficekit/qa/tilebench/tilebench.cxx
index f2fbd1752c75..8f06cc16b2fd 100644
--- a/libreofficekit/qa/tilebench/tilebench.cxx
+++ b/libreofficekit/qa/tilebench/tilebench.cxx
@@ -20,6 +20,10 @@
 #include <LibreOfficeKit/LibreOfficeKitInit.h>
 #include <LibreOfficeKit/LibreOfficeKit.hxx>
 
+#ifdef IOS
+#include <vcl/svapp.hxx>
+#endif
+
 #include <boost/property_tree/json_parser.hpp>
 
 using namespace lok;
@@ -654,6 +658,9 @@ int main( int argc, char* argv[] )
             return help ("unknown parameter");
     }
 
+#ifdef IOS
+    Application::Quit();
+#endif
     aTimes.emplace_back("destroy document");
     pDocument.reset();
     aTimes.emplace_back();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to