diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 16:41:14 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 16:42:05 +0200 |
commit | ee149fdbcbbeb19218421eeaf70d0c356a82b7a3 (patch) | |
tree | f793d41ad199987e761144796d9d97420d0bf254 | |
parent | 08dc975721d7837bf9611104a7052b5384685167 (diff) |
valueOf is deprecated
Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
-rw-r--r-- | shell/source/backends/kdebe/kdeaccess.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/i18n_cb.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/kdebe/kdeaccess.cxx b/shell/source/backends/kdebe/kdeaccess.cxx index 57618e6d3f24..c4636aa7e3d1 100644 --- a/shell/source/backends/kdebe/kdeaccess.cxx +++ b/shell/source/backends/kdebe/kdeaccess.cxx @@ -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"))) { diff --git a/vcl/unx/generic/app/i18n_cb.cxx b/vcl/unx/generic/app/i18n_cb.cxx index f25a518ec686..04b41fbcfa1b 100644 --- a/vcl/unx/generic/app/i18n_cb.cxx +++ b/vcl/unx/generic/app/i18n_cb.cxx @@ -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; |