diff options
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rwxr-xr-x | desktop/source/app/sofficemain.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index a0fba044922e..a9501eda85ee 100755 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -69,11 +69,13 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() const desktop::CommandLineArgs& rCmdLineArgs = aDesktop.GetCommandLineArgs(); if ( rCmdLineArgs.IsHelp() ) { + desktop::Desktop::ensureProcessServiceFactory(); desktop::displayCmdlineHelp(); return EXIT_SUCCESS; } else if ( rCmdLineArgs.IsVersion() ) { + desktop::Desktop::ensureProcessServiceFactory(); desktop::displayVersion(); return EXIT_SUCCESS; } |