diff options
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 76562a32e630..ed22834ab75d 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -71,6 +71,10 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() desktop::displayVersion(); return EXIT_SUCCESS; } + else if ( rCmdLineArgs.HasUnknown() ) + { + return EXIT_FAILURE; + } #endif return SVMain(); #ifdef ANDROID |