[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - libreofficekit/qa
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 20 09:29:24 UTC 2020
libreofficekit/qa/tilebench/tilebench.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit ca49f93839198c7218a7b9f1bf9e0984f6725f45
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Jul 20 10:44:16 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Jul 20 11:28:51 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/libreofficekit/qa/tilebench/tilebench.cxx b/libreofficekit/qa/tilebench/tilebench.cxx
index 2a8142de9a7c..e51b738d583b 100644
--- a/libreofficekit/qa/tilebench/tilebench.cxx
+++ b/libreofficekit/qa/tilebench/tilebench.cxx
@@ -22,6 +22,10 @@
#include <LibreOfficeKit/LibreOfficeKitInit.h>
#include <LibreOfficeKit/LibreOfficeKit.hxx>
+#ifdef IOS
+#include <vcl/svapp.hxx>
+#endif
+
#include <boost/property_tree/json_parser.hpp>
#include <boost/optional.hpp>
@@ -651,6 +655,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();
More information about the Libreoffice-commits
mailing list