summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-07 21:53:59 +0200
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-07 21:53:59 +0200
commitbf8f009cdb233b130363a808e194026f4dd84fc5 (patch)
treee3aa354303d52fce8ce4bb7eb6048f0b7f510806 /desktop
parentdae66b7b1df89d824017c7afb52f66ebfd2b8fe2 (diff)
desktop: enable --invisible by default when built with --enable-headless
Change-Id: I560759b91c5d37079a2b0d748cff5acf0a81ae4f
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlineargs.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index f83602829cbd..83b728fd4ff6 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -591,11 +591,12 @@ bool CommandLineArgs::InterpretCommandLineParameter( const ::rtl::OUString& aArg
void CommandLineArgs::InitParamValues()
{
m_minimized = false;
- m_invisible = false;
m_norestore = false;
#ifdef LIBO_HEADLESS
+ m_invisible = true;
m_headless = true;
#else
+ m_invisible = false;
m_headless = false;
#endif
m_quickstart = false;