From 06ca0ae15f2c467cb69561c43779cc09d5666227 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 20 Jul 2020 10:44:16 +0300 Subject: [PATCH] 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 Reviewed-by: Tor Lillqvist Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99031 Tested-by: Jenkins --- libreofficekit/qa/tilebench/tilebench.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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 #include +#ifdef IOS +#include +#endif + #include 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();