#i112786# make ConfigManager a well-behaved singleton

This commit is contained in:
Caolán McNamara 2010-10-11 15:13:08 +01:00
parent 2ca1ccce95
commit 762dbbb4b1
2 changed files with 3 additions and 3 deletions

View file

@ -585,7 +585,7 @@ SfxConfigGroupListBox_Impl::SfxConfigGroupListBox_Impl(
Any value;
sal_Bool tmp = false;
value = ::utl::ConfigManager::GetConfigManager()->GetLocalProperty(
value = ::utl::ConfigManager::GetConfigManager().GetLocalProperty(
::rtl::OUString::createFromAscii(
"Office.Scripting/ScriptDisplaySettings/ShowBasic" ) );
@ -598,7 +598,7 @@ SfxConfigGroupListBox_Impl::SfxConfigGroupListBox_Impl(
bShowBasic = FALSE;
}
value = ::utl::ConfigManager::GetConfigManager()->GetLocalProperty(
value = ::utl::ConfigManager::GetConfigManager().GetLocalProperty(
::rtl::OUString::createFromAscii(
"Office.Scripting/ScriptDisplaySettings/ShowSF" ) );

View file

@ -2702,7 +2702,7 @@ short OfaTreeOptionsDialog::Execute()
}
}
utl::ConfigManager::GetConfigManager()->StoreConfigItems();
utl::ConfigManager::GetConfigManager().StoreConfigItems();
}
return nRet;