summaryrefslogtreecommitdiff
path: root/desktop/source/app/sofficemain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rw-r--r--desktop/source/app/sofficemain.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index 73ac6e24cfe4..33881784d45c 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -63,7 +63,13 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main()
#endif
tools::extendApplicationEnvironment();
+#if defined EMSCRIPTEN
+ //TODO, see "Experimental (AKA currently broken) WASM exception + SjLj build" in
+ // static/README.wasm.md:
+ new desktop::Desktop();
+#else
desktop::Desktop aDesktop;
+#endif
// This string is used during initialization of the Gtk+ VCL module
Application::SetAppName( u"soffice"_ustr );