summaryrefslogtreecommitdiff
path: root/desktop/source/app/officeipcthread.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 15:49:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-06 15:49:48 +0000
commit4efbd87e31e7488dfcdd1d07ff979f1f59b8b1f1 (patch)
treebd71bb49bf16c14e310864c0e1c95f74caf443d7 /desktop/source/app/officeipcthread.cxx
parent5ce699f0c82d5bfd629c22be0747bbe3b851a9fd (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.cxx6
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() )