summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 22:34:20 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 22:34:20 -0500
commiteb225ad5d756c26e7ed997b78e189d74f3435002 (patch)
tree0e8e08ccc27db0b6de57663d5a7609c35bd4f935 /framework
parentf86ee78ba2fcb1ff3aca3c20c747932d615bed14 (diff)
targeted string re-work
Change-Id: I48ca4f57f97f49fe344a7d4aab079f23765d2679
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/macros/xserviceinfo.hxx2
-rw-r--r--framework/source/inc/pattern/configuration.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx
index 5eadc5a2b655..85f3f85c958b 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_CONSTASCII_USTRINGPARAM("DefaultContext")); \
+ static const ::rtl::OUString PROP_DEFAULTCONTEXT("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 5c46c1cbc0fc..9d1f8a8b7db3 100644
--- a/framework/source/inc/pattern/configuration.hxx
+++ b/framework/source/inc/pattern/configuration.hxx
@@ -141,13 +141,13 @@ class ConfigurationHelper
css::uno::Sequence< css::uno::Any > lParams(c);
css::beans::PropertyValue aParam;
- aParam.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("nodepath"));
+ aParam.Name = ::rtl::OUString("nodepath");
aParam.Value <<= sPath.makeStringAndClear();
lParams[0] <<= aParam;
if (bAllLocales)
{
- aParam.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*"));
+ aParam.Name = ::rtl::OUString("*");
aParam.Value <<= sal_True;
lParams[1] <<= aParam;
}