diff options
Diffstat (limited to 'desktop/source/app/cmdlineargs.cxx')
-rw-r--r-- | desktop/source/app/cmdlineargs.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index 6885021718bc..f2555623c560 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -987,16 +987,6 @@ sal_Bool CommandLineArgs::IsEmpty() const return m_eArgumentCount == NONE; } -sal_Bool CommandLineArgs::IsEmptyOrAcceptOnly() const -{ - osl::MutexGuard aMutexGuard( m_aMutex ); - - return m_eArgumentCount == NONE || - ( ( m_eArgumentCount == ONE ) && ( m_aStrParams[ CMD_STRINGPARAM_SPLASHPIPE ].getLength() )) || - ( ( m_eArgumentCount == ONE ) && ( m_aStrParams[ CMD_STRINGPARAM_ACCEPT ].getLength() )) || - ( ( m_eArgumentCount == ONE ) && m_aBoolParams[ CMD_BOOLPARAM_PSN ] ); -} - sal_Bool CommandLineArgs::WantsToLoadDocument() const { osl::MutexGuard aMutexGuard( m_aMutex ); |