diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 23:42:46 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 23:43:08 -0500 |
commit | fa1da8256c136e697f7b02d0dfeae9cfbe583d88 (patch) | |
tree | 8635896e3ad64c17473689345609c407d0f53c9d /unotools/source/config/confignode.cxx | |
parent | 2f3f14608d81899ebec50e2381ecde96aa76c64e (diff) |
targeted string re-work
Change-Id: I3ef48c34e9e0e1c0e567b013b55a630ee1c7e9c5
Diffstat (limited to 'unotools/source/config/confignode.cxx')
-rw-r--r-- | unotools/source/config/confignode.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 9888490e2af8..3c290d7ab88f 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -349,7 +349,7 @@ namespace utl Reference< XServiceInfo > xSI(m_xHierarchyAccess, UNO_QUERY); if (xSI.is()) { - try { bIsSet = xSI->supportsService(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.SetAccess"))); } + try { bIsSet = xSI->supportsService(::rtl::OUString("com.sun.star.configuration.SetAccess")); } catch(Exception&) { } } return bIsSet; @@ -491,7 +491,7 @@ namespace utl //-------------------------------------------------------------------- static const ::rtl::OUString& lcl_getProviderServiceName( ) { - static ::rtl::OUString s_sProviderServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationProvider" ) ); + static ::rtl::OUString s_sProviderServiceName( "com.sun.star.configuration.ConfigurationProvider" ); return s_sProviderServiceName; } @@ -523,8 +523,8 @@ namespace utl aArgs.put( "depth", i_nDepth ); ::rtl::OUString sAccessService( i_bUpdatable ? - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationUpdateAccess" )) : - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationAccess" ))); + ::rtl::OUString( "com.sun.star.configuration.ConfigurationUpdateAccess" ) : + ::rtl::OUString( "com.sun.star.configuration.ConfigurationAccess" )); Reference< XInterface > xRoot( i_rxConfigProvider->createInstanceWithArguments( sAccessService, aArgs.getWrappedPropertyValues() ), |