gtk/mobile.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9360beb97f7abf45df42dfc2dc5a27cef74fc9c0
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Thu Oct 25 22:29:11 2018 +0300
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Thu Oct 25 22:30:11 2018 +0300

    hello-world.odt does not exist out of the box
    
    Need to copy from hello.odt, like the Makefile.am does when you 'make
    run'.

diff --git a/gtk/mobile.cpp b/gtk/mobile.cpp
index a45ebf990..577897114 100644
--- a/gtk/mobile.cpp
+++ b/gtk/mobile.cpp
@@ -316,6 +316,8 @@ int main(int argc, char* argv[])
     g_signal_connect(main_window, "destroy", G_CALLBACK(destroyWindowCb), 
NULL);
     g_signal_connect(webView, "close", G_CALLBACK(closeWebViewCb), 
main_window);
 
+    system("cp " TOPSRCDIR "/test/data/hello.odt" " " TOPSRCDIR 
"/test/data/hello-world.odt");
+
     fileURL = "file://" TOPSRCDIR "/test/data/hello-world.odt";
 
     std::string urlAndQuery =
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to