diff options
Diffstat (limited to 'desktop/source/app/app.cxx')
-rw-r--r-- | desktop/source/app/app.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index ade68fd5efc0..f65f93d63f80 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -383,13 +383,12 @@ void FatalError(const OUString& sMessage) _exit(EXITHELPER_FATAL_ERROR); } -struct theCommandLineArgs : public rtl::Static< CommandLineArgs, theCommandLineArgs > {}; - } CommandLineArgs& Desktop::GetCommandLineArgs() { - return theCommandLineArgs::get(); + static CommandLineArgs theCommandLineArgs; + return theCommandLineArgs; } OUString ReplaceStringHookProc( const OUString& rStr ) |