diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-11 15:13:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 15:34:10 +0100 |
commit | 762dbbb4b11279cf087cc52c0dd4c3d38f3ca220 (patch) | |
tree | 48453eb1cfab36fc065752f50b7c2dd3d92a04f1 | |
parent | 2ca1ccce958a5143906bbaa3654e1cc35ce587c8 (diff) |
#i112786# make ConfigManager a well-behaved singleton
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 952de1f9275e..fd320baf5940 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -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" ) ); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index f014c320fedc..21585b7c3db9 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -2702,7 +2702,7 @@ short OfaTreeOptionsDialog::Execute() } } - utl::ConfigManager::GetConfigManager()->StoreConfigItems(); + utl::ConfigManager::GetConfigManager().StoreConfigItems(); } return nRet; |