diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-10 23:30:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 11:43:07 +0100 |
commit | 37d93d391251ebdb8cbc30412fbc3b8eb9d935e2 (patch) | |
tree | 9ca06ef2b7ce1505633d700da94e7d8284acc521 | |
parent | 22c6795eb289262170960a128519a65b2e6261dd (diff) |
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 9c7ea2b78a00..cadaa0c43131 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -1738,7 +1738,7 @@ rtl::OUString Impl_GetInterfaceInfo( const Reference< XInterface >& x, const Ref { ::rtl::OUString aName = getDbgObjectNameImpl( pUnoObj ); if( !aName.getLength() ) - aName += ::rtl::OUString::createFromAscii( "Unknown" ); + aName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Unknown")); ::rtl::OUStringBuffer aRet; if( aName.getLength() > 20 ) @@ -3496,7 +3496,7 @@ SbxVariable* SbUnoClass::Find( const XubString& rName, SbxClassType t ) { // expand fully qualified name ::rtl::OUString aNewName = GetName(); - aNewName += ::rtl::OUString::createFromAscii( "." ); + aNewName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".")); aNewName += rName; // get CoreReflection @@ -3638,7 +3638,7 @@ SbxVariable* SbUnoService::Find( const String& rName, SbxClassType ) if( !aName.getLength() ) { if( xCtor->isDefaultConstructor() ) - aName = ::rtl::OUString::createFromAscii( "create" ); + aName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("create")); } if( aName.getLength() ) |