Kaydet (Commit) ee149fdb authored tarafından Luboš Luňák's avatar Luboš Luňák

valueOf is deprecated

Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
üst 08dc9757
...@@ -84,7 +84,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) { ...@@ -84,7 +84,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
/* does not make much sense without an accessibility bridge */ /* does not make much sense without an accessibility bridge */
sal_Bool ATToolSupport = sal_False; sal_Bool ATToolSupport = sal_False;
return css::beans::Optional< css::uno::Any >( return css::beans::Optional< css::uno::Any >(
true, uno::makeAny( OUString::valueOf( ATToolSupport ) ) ); true, uno::makeAny( OUString::boolean( ATToolSupport ) ) );
} else if (id.equalsAsciiL( } else if (id.equalsAsciiL(
RTL_CONSTASCII_STRINGPARAM("WorkPathVariable"))) RTL_CONSTASCII_STRINGPARAM("WorkPathVariable")))
{ {
......
...@@ -546,7 +546,7 @@ StatusDrawCallback (XIC, XPointer, XIMStatusDrawCallbackStruct *call_data) ...@@ -546,7 +546,7 @@ StatusDrawCallback (XIC, XPointer, XIMStatusDrawCallbackStruct *call_data)
else else
{ {
fprintf( stderr, "XIMStatusDataType %s not supported\n", 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 #endif
return; return;
......
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