diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
commit | 7692bfc268c57d6bcbc565179e5c63ffc0f6095d (patch) | |
tree | 8473aefdca37aa0d2021ab8124d6edfb74779deb /UnoControls/source/base | |
parent | 5078c9fcebb1e54efafbd69d17ece8746438c413 (diff) |
RTL_CONSTASCII_USTRINGPARAM in components 3
Diffstat (limited to 'UnoControls/source/base')
-rw-r--r-- | UnoControls/source/base/basecontrol.cxx | 2 | ||||
-rw-r--r-- | UnoControls/source/base/registercontrols.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index f26250bed987..bc1433d3af63 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -934,7 +934,7 @@ WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindo WindowDescriptor* pDescriptor = new WindowDescriptor ; pDescriptor->Type = WindowClass_SIMPLE ; - pDescriptor->WindowServiceName = OUString::createFromAscii( "window" ) ; + pDescriptor->WindowServiceName = OUString(RTL_CONSTASCII_USTRINGPARAM("window")) ; pDescriptor->ParentIndex = -1 ; pDescriptor->Parent = xParentPeer ; pDescriptor->Bounds = getPosSize () ; diff --git a/UnoControls/source/base/registercontrols.cxx b/UnoControls/source/base/registercontrols.cxx index e8f58b8fa7f2..62e2e23ccc16 100644 --- a/UnoControls/source/base/registercontrols.cxx +++ b/UnoControls/source/base/registercontrols.cxx @@ -107,9 +107,9 @@ using namespace ::com::sun::star::registry ; { \ AS_DBG_OUT ( "\tCOMPONENT_INFO():\t\txkey is valid ...\n" ) \ /* Build new keyname */ \ - sKeyName = OUString::createFromAscii( "/" ) ; \ + sKeyName = OUString(RTL_CONSTASCII_USTRINGPARAM("/")) ; \ sKeyName += CLASS::impl_getStaticImplementationName() ; \ - sKeyName += OUString::createFromAscii( "/UNO/SERVICES" ); \ + sKeyName += OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES")); \ \ /* Create new key with new name. */ \ xNewKey = xKey->createKey( sKeyName ); \ |