Kaydet (Commit) 1db81a3e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: I98f62391ee27c806f89cd8b85a04d67d1bcc78b7
üst 529e7619
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment