diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-20 11:21:28 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-20 11:21:28 +0100 |
commit | 41493c97fd3c3019310475656e14e6c2f3a74c17 (patch) | |
tree | 60a9d0049bb9ab0e80a87511522d04d07ebe523d | |
parent | 3ab917baa28b7b2a7c546cb5adfe8dc28814ac6f (diff) |
TL_CONSTASCII_USTRINGPARAM in libs core 23
-rw-r--r-- | framework/inc/macros/xserviceinfo.hxx | 2 | ||||
-rw-r--r-- | framework/source/inc/pattern/configuration.hxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx index c35815f31d..24e6d3918a 100644 --- a/framework/inc/macros/xserviceinfo.hxx +++ b/framework/inc/macros/xserviceinfo.hxx @@ -157,7 +157,7 @@ ________________________________________________________________________________ throw( css::uno::Exception ) \ { \ /* retrieve component context from the given service manager */ \ - static const ::rtl::OUString PROP_DEFAULTCONTEXT = ::rtl::OUString::createFromAscii("DefaultContext"); \ + static const ::rtl::OUString PROP_DEFAULTCONTEXT(RTL_CONSTASCII_USTRINGPARAM("DefaultContext")); \ css::uno::Reference< css::beans::XPropertySet > xSMGRProps(xServiceManager, css::uno::UNO_QUERY_THROW); \ css::uno::Reference< css::uno::XComponentContext > xComponentContext; \ xSMGRProps->getPropertyValue( PROP_DEFAULTCONTEXT ) >>= xComponentContext; \ diff --git a/framework/source/inc/pattern/configuration.hxx b/framework/source/inc/pattern/configuration.hxx index 8b72fe84cf..73b4022076 100644 --- a/framework/source/inc/pattern/configuration.hxx +++ b/framework/source/inc/pattern/configuration.hxx @@ -119,7 +119,7 @@ class ConfigurationHelper const ::rtl::OUString& sRelPath , sal_Int32 nOpenFlags) { - static ::rtl::OUString PATH_SEPERATOR = ::rtl::OUString::createFromAscii("/"); + static ::rtl::OUString PATH_SEPERATOR(RTL_CONSTASCII_USTRINGPARAM("/")); css::uno::Reference< css::uno::XInterface > xCFG; @@ -143,13 +143,13 @@ class ConfigurationHelper css::uno::Sequence< css::uno::Any > lParams(c); css::beans::PropertyValue aParam; - aParam.Name = ::rtl::OUString::createFromAscii("nodepath"); + aParam.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("nodepath")); aParam.Value <<= sPath.makeStringAndClear(); lParams[0] <<= aParam; if (bAllLocales) { - aParam.Name = ::rtl::OUString::createFromAscii("*"); + aParam.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*")); aParam.Value <<= sal_True; lParams[1] <<= aParam; } |