desktop/source/app/cmdlineargs.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bf8f009cdb233b130363a808e194026f4dd84fc5
Author: Riccardo Magliocchetti <[email protected]>
Date:   Fri Sep 7 21:53:59 2012 +0200

    desktop: enable --invisible by default when built with --enable-headless
    
    Change-Id: I560759b91c5d37079a2b0d748cff5acf0a81ae4f

diff --git a/desktop/source/app/cmdlineargs.cxx 
b/desktop/source/app/cmdlineargs.cxx
index f836028..83b728f 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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to