[Libreoffice-commits] .: cui/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Oct 12 07:36:48 PDT 2010


 cui/source/customize/cfgutil.cxx |    4 ++--
 cui/source/options/treeopt.cxx   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ba23e2ddcff997af2e1575acd243d42c6375566b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 11 15:13:08 2010 +0100

    #i112786# make ConfigManager a well-behaved singleton

diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index dce62d5..0dc6c4e 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 5665784..b309ae8 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;


More information about the Libreoffice-commits mailing list