summaryrefslogtreecommitdiff
path: root/desktop
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
parent5131e0be31afb8d7686483fd5552b10cecd1c5f0 (diff)
grabbag of unused code
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlineargs.cxx10
-rw-r--r--desktop/source/app/cmdlineargs.hxx1
2 files changed, 0 insertions, 11 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 );
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index bd7e24a81147..9eb554cb172c 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -188,7 +188,6 @@ class CommandLineArgs
// Special analyzed states (does not match directly to a command line parameter!)
sal_Bool IsPrinting() const;
sal_Bool IsEmpty() const;
- sal_Bool IsEmptyOrAcceptOnly() const;
private:
enum Count { NONE, ONE, MANY };