summaryrefslogtreecommitdiff
path: root/desktop/source/app/cmdlineargs.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-30 16:00:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-31 10:43:23 +0100
commit8de61c9fb6a4c3be54b51c575fcffcec2067e090 (patch)
treea5e71351f79b88a47ae9400d141a13bcfe906bd9 /desktop/source/app/cmdlineargs.cxx
parent5131e0be31afb8d7686483fd5552b10cecd1c5f0 (diff)
grabbag of unused code
Diffstat (limited to 'desktop/source/app/cmdlineargs.cxx')
-rw-r--r--desktop/source/app/cmdlineargs.cxx10
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 );