diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 15:49:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 15:49:48 +0000 |
commit | 4efbd87e31e7488dfcdd1d07ff979f1f59b8b1f1 (patch) | |
tree | bd71bb49bf16c14e310864c0e1c95f74caf443d7 /desktop/source/app/officeipcthread.cxx | |
parent | 5ce699f0c82d5bfd629c22be0747bbe3b851a9fd (diff) |
Resolves: rhbz#800272 complain about unknown command-line options
Diffstat (limited to 'desktop/source/app/officeipcthread.cxx')
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index b2c65669c058..4306a67e58ac 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -709,6 +709,12 @@ void OfficeIPCThread::execute() #endif continue; } + +#ifdef UNX + if (aCmdLineArgs->HasUnknown() || aCmdLineArgs->IsVersion() || aCmdLineArgs->IsHelp()) + continue; +#endif + const CommandLineArgs &rCurrentCmdLineArgs = Desktop::GetCommandLineArgs(); if ( aCmdLineArgs->IsQuickstart() ) |