cmdlineargs.cxx (2722cedd) cmdlineargs.cxx (85c309d6)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 402 unchanged lines hidden (view full) ---

411 }
412 else if ( aArg.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-headless" )) == sal_True )
413 {
414 // Headless means also invisibile, so set this parameter to true!
415 SetBoolParam_Impl( CMD_BOOLPARAM_HEADLESS, sal_True );
416 SetBoolParam_Impl( CMD_BOOLPARAM_INVISIBLE, sal_True );
417 return sal_True;
418 }
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 402 unchanged lines hidden (view full) ---

411 }
412 else if ( aArg.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-headless" )) == sal_True )
413 {
414 // Headless means also invisibile, so set this parameter to true!
415 SetBoolParam_Impl( CMD_BOOLPARAM_HEADLESS, sal_True );
416 SetBoolParam_Impl( CMD_BOOLPARAM_INVISIBLE, sal_True );
417 return sal_True;
418 }
419 else if ( aArg.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-conversionmode" )) == sal_True )
420 {
421 // ConversionMode means also headless and invisibile, so set these parameters to true!
422 SetBoolParam_Impl( CMD_BOOLPARAM_HEADLESS, sal_True );
423 SetBoolParam_Impl( CMD_BOOLPARAM_INVISIBLE, sal_True );
424 SetBoolParam_Impl( CMD_BOOLPARAM_CONVERSIONMODE, sal_True );
425 return sal_True;
426 }
419 else if ( aArg.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-quickstart" )) == sal_True )
420 {
421#if defined(ENABLE_QUICKSTART_APPLET)
422 SetBoolParam_Impl( CMD_BOOLPARAM_QUICKSTART, sal_True );
423#endif
424 SetBoolParam_Impl( CMD_BOOLPARAM_NOQUICKSTART, sal_False );
425 return sal_True;
426 }

--- 258 unchanged lines hidden (view full) ---

685}
686
687sal_Bool CommandLineArgs::IsHeadless() const
688{
689 osl::MutexGuard aMutexGuard( m_aMutex );
690 return m_aBoolParams[ CMD_BOOLPARAM_HEADLESS ];
691}
692
427 else if ( aArg.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-quickstart" )) == sal_True )
428 {
429#if defined(ENABLE_QUICKSTART_APPLET)
430 SetBoolParam_Impl( CMD_BOOLPARAM_QUICKSTART, sal_True );
431#endif
432 SetBoolParam_Impl( CMD_BOOLPARAM_NOQUICKSTART, sal_False );
433 return sal_True;
434 }

--- 258 unchanged lines hidden (view full) ---

693}
694
695sal_Bool CommandLineArgs::IsHeadless() const
696{
697 osl::MutexGuard aMutexGuard( m_aMutex );
698 return m_aBoolParams[ CMD_BOOLPARAM_HEADLESS ];
699}
700
701sal_Bool CommandLineArgs::IsConversionMode() const
702{
703 osl::MutexGuard aMutexGuard( m_aMutex );
704 return m_aBoolParams[ CMD_BOOLPARAM_CONVERSIONMODE ];
705}
706
693sal_Bool CommandLineArgs::IsQuickstart() const
694{
695 osl::MutexGuard aMutexGuard( m_aMutex );
696 return m_aBoolParams[ CMD_BOOLPARAM_QUICKSTART ];
697}
698
699sal_Bool CommandLineArgs::IsNoQuickstart() const
700{

--- 233 unchanged lines hidden ---
707sal_Bool CommandLineArgs::IsQuickstart() const
708{
709 osl::MutexGuard aMutexGuard( m_aMutex );
710 return m_aBoolParams[ CMD_BOOLPARAM_QUICKSTART ];
711}
712
713sal_Bool CommandLineArgs::IsNoQuickstart() const
714{

--- 233 unchanged lines hidden ---