valueOf is deprecated
Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
This commit is contained in:
@@ -84,7 +84,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
|
||||
/* does not make much sense without an accessibility bridge */
|
||||
sal_Bool ATToolSupport = sal_False;
|
||||
return css::beans::Optional< css::uno::Any >(
|
||||
true, uno::makeAny( OUString::valueOf( ATToolSupport ) ) );
|
||||
true, uno::makeAny( OUString::boolean( ATToolSupport ) ) );
|
||||
} else if (id.equalsAsciiL(
|
||||
RTL_CONSTASCII_STRINGPARAM("WorkPathVariable")))
|
||||
{
|
||||
|
@@ -546,7 +546,7 @@ StatusDrawCallback (XIC, XPointer, XIMStatusDrawCallbackStruct *call_data)
|
||||
else
|
||||
{
|
||||
fprintf( stderr, "XIMStatusDataType %s not supported\n",
|
||||
call_data->type == XIMBitmapType ? "XIMBitmapType" : OString::valueOf(static_cast<sal_Int32>(call_data->type)).getStr() );
|
||||
call_data->type == XIMBitmapType ? "XIMBitmapType" : OString::number(call_data->type).getStr() );
|
||||
}
|
||||
#endif
|
||||
return;
|
||||
|
Reference in New Issue
Block a user