diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-01 10:41:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 16:43:14 +0100 |
commit | b70a330d4f06daaeeff940b2f935c8089d8a7be6 (patch) | |
tree | f0b36db556be8e416ba6cfbf2315d74425d007ee /vcl/source | |
parent | 8ec2fed7c88674258ce716e69ae31d8f9be7223c (diff) |
fdo#46808, rename method
Rename
utl::OConfigurationTreeRoot::tryCreateWithServiceFactory
to
utl::OConfigurationTreeRoot::tryCreateWithComponentContext
Change-Id: Ib39b44b21d206b5fdfa4162106fbdeb30b1dd37c
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/settings.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 53c51dd2eb84..273e1186f430 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -1511,7 +1511,7 @@ bool AllSettings::GetLayoutRTL() const if( nUIMirroring == -1 ) { nUIMirroring = 0; // ask configuration only once - utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory( + utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithComponentContext( comphelper::getProcessComponentContext(), OUString("org.openoffice.Office.Common/I18N/CTL") ); // note: case sensitive ! if ( aNode.isValid() ) diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 64020ff5f98c..3e39c2f27b6d 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -2139,7 +2139,7 @@ sal_Bool ToolBox::AlwaysLocked() { nAlwaysLocked = 0; // ask configuration only once - utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory( + utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithComponentContext( comphelper::getProcessComponentContext(), OUString("/org.openoffice.Office.UI.GlobalSettings/Toolbars") ); // note: case sensitive ! if ( aNode.isValid() ) @@ -2152,7 +2152,7 @@ sal_Bool ToolBox::AlwaysLocked() if( bStatesEnabled == sal_True ) { // now read the locking state - utl::OConfigurationNode aNode2 = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory( + utl::OConfigurationNode aNode2 = utl::OConfigurationTreeRoot::tryCreateWithComponentContext( comphelper::getProcessComponentContext(), OUString("/org.openoffice.Office.UI.GlobalSettings/Toolbars/States") ); // note: case sensitive ! diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 6d5c36d3d783..4b5e4cd6b854 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -484,7 +484,7 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, sal_Bool bCallHdl if( !rSettings.GetStyleSettings().GetHighContrastMode() ) { sal_Bool bTmp = sal_False, bAutoHCMode = sal_True; - utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithServiceFactory( + utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithComponentContext( comphelper::getProcessComponentContext(), OUString("org.openoffice.Office.Common/Accessibility") ); // note: case sensitive ! if ( aNode.isValid() ) |