Kaydet (Commit) eae70d6b authored tarafından Riccardo Magliocchetti's avatar Riccardo Magliocchetti

Force --headless argument when LIBO_HEADLESS is defined

When LIBO_HEADLESS is set we are not supposed to run libo without
--headless; doing so will throw an UNO exception. So better use
a sensible default.
üst 8125b8b9
...@@ -588,7 +588,11 @@ void CommandLineArgs::InitParamValues() ...@@ -588,7 +588,11 @@ void CommandLineArgs::InitParamValues()
m_minimized = false; m_minimized = false;
m_invisible = false; m_invisible = false;
m_norestore = false; m_norestore = false;
#ifdef LIBO_HEADLESS
m_headless = true;
#else
m_headless = false; m_headless = false;
#endif
m_quickstart = false; m_quickstart = false;
m_noquickstart = false; m_noquickstart = false;
m_terminateafterinit = false; m_terminateafterinit = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment