diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-07-20 10:44:16 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-07-20 13:14:46 +0200 |
commit | 06ca0ae15f2c467cb69561c43779cc09d5666227 (patch) | |
tree | d750279b1fc9af928b17f6771685feb19bad4e96 /libreofficekit | |
parent | 6294ecd7b4da38de98b24ddfb9f201cef98c1f41 (diff) |
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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99031
Tested-by: Jenkins
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/tilebench/tilebench.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |