[Libreoffice-commits] online.git: gtk/mobile.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 25 19:30:45 UTC 2018


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

New commits:
commit 9360beb97f7abf45df42dfc2dc5a27cef74fc9c0
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Oct 25 22:29:11 2018 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
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 =


More information about the Libreoffice-commits mailing list