summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/app.cxx2
-rw-r--r--desktop/source/app/sofficemain.cxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_service.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index dccdecc8fae1..fb11a189f32a 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1601,7 +1601,7 @@ int Desktop::Main()
SvtFontSubstConfig().Apply();
SvtTabAppearanceCfg aAppearanceCfg;
- aAppearanceCfg.SetInitialized();
+ SvtTabAppearanceCfg::SetInitialized();
aAppearanceCfg.SetApplicationDefaults( this );
SvtAccessibilityOptions aOptions;
aOptions.SetVCLSettings();
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index f94de28f2ad6..a7072cba50f7 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -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() )
{
diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx
index b60a4bf781d5..d049f9093d23 100644
--- a/desktop/source/deployment/gui/dp_gui_service.cxx
+++ b/desktop/source/deployment/gui/dp_gui_service.cxx
@@ -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());