diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/process_impl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx index 5d7f7644feb0..a61df87c2cff 100644 --- a/sal/osl/unx/process_impl.cxx +++ b/sal/osl/unx/process_impl.cxx @@ -97,6 +97,13 @@ oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL) { oslProcessError result = osl_Process_E_NotFound; +#ifdef EMSCRIPTEN + // Just return some dummy file: URL for now to see what happens + OUString fileURL = "vnd.sun.star.pathname:/instdir/program/soffice"; + rtl_uString_acquire(fileURL.pData); + *ppFileURL = fileURL.pData; + return osl_Process_E_None; +#else #ifdef ANDROID /* Now with just a single DSO, this one from lo-bootstrap.c is as good as * any */ @@ -136,6 +143,7 @@ oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL) } return result; +#endif } } |