Kaydet (Commit) 932ebc49 authored tarafından Caolán McNamara's avatar Caolán McNamara

createFromAscii -> RTL_CONSTASCII_USTRINGPARAM

üst bb0f5c93
......@@ -882,7 +882,9 @@ Any TypeConverter_Impl::convertToSimpleType( const Any& rVal, TypeClass aDestina
}
case TypeClass_BOOLEAN:
aRet <<= OUString::createFromAscii( (*(sal_Bool *)rVal.getValue() ? "true" : "false") );
aRet <<= (*(sal_Bool *)rVal.getValue()) ?
OUString(RTL_CONSTASCII_USTRINGPARAM("true")) :
OUString(RTL_CONSTASCII_USTRINGPARAM("false"));
break;
case TypeClass_CHAR:
aRet <<= OUString( (sal_Unicode *)rVal.getValue(), 1 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment