[Libreoffice-commits] core.git: shell/source vcl/unx
LuboÅ¡ LuÅák
l.lunak at suse.cz
Wed Aug 21 07:42:29 PDT 2013
shell/source/backends/kdebe/kdeaccess.cxx | 2 +-
vcl/unx/generic/app/i18n_cb.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ee149fdbcbbeb19218421eeaf70d0c356a82b7a3
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Aug 21 16:41:14 2013 +0200
valueOf is deprecated
Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
diff --git a/shell/source/backends/kdebe/kdeaccess.cxx b/shell/source/backends/kdebe/kdeaccess.cxx
index 57618e6..c4636aa 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 f25a518..04b41fb 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;
More information about the Libreoffice-commits
mailing list