diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-28 15:13:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-28 15:13:27 +0200 |
commit | ba819f90eb00451a542330a0b6948537bc085a2b (patch) | |
tree | 87d4b476710d688113e6bf7c81db390dc4b824d6 | |
parent | 8fb68a54e554c797c7878e857ca269a6bad675c9 (diff) |
Using LO code through LOKit should imply "console only", too, I think
The "console only" mode, which apparently is intended to mean something
stronger than merely "headless" mode (?), is not checked much currently. But I
plan to start checking it to avoid doing things that make no sense when
running LO code through LibreOfficeKit.
(If overloading "console only" mode turns out to be a bad thing, we will have
to introduce a third degree of headlessness then, "LOKit mode".)
Change-Id: Id4cd16c4d68e2f1aba8a6b8fba83325b7262563a
-rw-r--r-- | desktop/source/lib/init.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index bd596b42460d..07cad8a81004 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -888,6 +888,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath) desktop::Desktop::GetCommandLineArgs().setHeadless(); Application::EnableHeadlessMode(true); + Application::EnableConsoleOnly(); // We could use InitVCL() here -- and used to before using soffice_main, // however that now deals with the initialisation for us (and it's not |