1 --- desktop/source/app/cmdlineargs.hxx-old 2008-05-21 00:01:55.000000000 +0200
2 +++ desktop/source/app/cmdlineargs.hxx 2008-05-21 00:01:45.000000000 +0200
4 // generic methods to access parameter
5 void SetBoolParam( BoolParam eParam, sal_Bool bNewValue );
7 + const rtl::OUString& GetStringParam( StringParam eParam ) const;
9 // Access to bool parameters
10 sal_Bool IsMinimized() const;
11 sal_Bool IsInvisible() const;
12 --- desktop/source/app/cmdlineargs.cxx-old 2008-05-21 00:02:22.000000000 +0200
13 +++ desktop/source/app/cmdlineargs.cxx 2008-05-20 23:55:48.000000000 +0200
15 m_aBoolParams[eParam] = bNewValue;
18 +const rtl::OUString& CommandLineArgs::GetStringParam( StringParam eParam ) const
20 + osl::MutexGuard aMutexGuard( m_aMutex );
22 + OSL_ASSERT( ( eParam >= 0 && eParam < CMD_STRINGPARAM_COUNT ) );
23 + return m_aStrParams[eParam];
26 sal_Bool CommandLineArgs::IsMinimized() const
28 osl::MutexGuard aMutexGuard( m_aMutex );