[Libreoffice-commits] online.git: kit/Kit.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 26 07:25:35 UTC 2018
kit/Kit.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f7ebab8902609c4b19e84472c9bd986b16e755db
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Oct 26 10:22:33 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Oct 26 10:22:33 2018 +0300
Use Poco to convert from pathname to URI
(Yesterday I talked about GLib in a commit message, I meant Poco of
course, for this source file. It's gtk/mobile.cpp that uses GTK+.)
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index e37a88e98..3654865ca 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2454,7 +2454,8 @@ void lokit_main(
#else // MOBILEAPP
#ifdef __linux
- LibreOfficeKit *kit = lok_init_2(LO_PATH "/program", "file://" LO_PATH);
+ Poco::URI userInstallationURI("file", LO_PATH);
+ LibreOfficeKit *kit = lok_init_2(LO_PATH "/program", userInstallationURI.toString().c_str());
#else
LibreOfficeKit *kit = lok_init_2(nullptr, nullptr);
#endif
More information about the Libreoffice-commits
mailing list