loplugin:staticcall
Change-Id: I98f62391ee27c806f89cd8b85a04d67d1bcc78b7
This commit is contained in:
parent
529e7619c5
commit
1db81a3e4b
@ -1601,7 +1601,7 @@ int Desktop::Main()
|
||||
SvtFontSubstConfig().Apply();
|
||||
|
||||
SvtTabAppearanceCfg aAppearanceCfg;
|
||||
aAppearanceCfg.SetInitialized();
|
||||
SvtTabAppearanceCfg::SetInitialized();
|
||||
aAppearanceCfg.SetApplicationDefaults( this );
|
||||
SvtAccessibilityOptions aOptions;
|
||||
aOptions.SetVCLSettings();
|
||||
|
@ -57,11 +57,11 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main()
|
||||
|
||||
desktop::Desktop aDesktop;
|
||||
// This string is used during initialization of the Gtk+ VCL module
|
||||
aDesktop.SetAppName( OUString("soffice") );
|
||||
Application::SetAppName( OUString("soffice") );
|
||||
#ifdef UNX
|
||||
// handle --version and --help already here, otherwise they would be handled
|
||||
// after VCL initialization that might fail if $DISPLAY is not set
|
||||
const desktop::CommandLineArgs& rCmdLineArgs = aDesktop.GetCommandLineArgs();
|
||||
const desktop::CommandLineArgs& rCmdLineArgs = desktop::Desktop::GetCommandLineArgs();
|
||||
OUString aUnknown( rCmdLineArgs.GetUnknown() );
|
||||
if ( !aUnknown.isEmpty() )
|
||||
{
|
||||
|
@ -237,10 +237,10 @@ void ServiceImpl::startExecuteModal(
|
||||
if (! InitVCL() )
|
||||
throw RuntimeException( "Cannot initialize VCL!",
|
||||
static_cast<OWeakObject *>(this) );
|
||||
AllSettings as = app->GetSettings();
|
||||
AllSettings as = Application::GetSettings();
|
||||
as.SetUILanguageTag( LanguageTag( utl::ConfigManager::getLocale() ).makeFallback() );
|
||||
app->SetSettings( as );
|
||||
app->SetDisplayName(
|
||||
Application::SetSettings( as );
|
||||
Application::SetDisplayName(
|
||||
utl::ConfigManager::getProductName() +
|
||||
OUString(" ") +
|
||||
utl::ConfigManager::getProductVersion());
|
||||
|
Loading…
x
Reference in New Issue
Block a user