valueOf is deprecated

Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
This commit is contained in:
Luboš Luňák
2013-08-21 16:41:14 +02:00
parent 08dc975721
commit ee149fdbcb
2 changed files with 2 additions and 2 deletions

View File

@@ -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")))
{

View File

@@ -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;