[Libreoffice-commits] core.git: winaccessibility/source
Stephan Bergmann
sbergman at redhat.com
Tue Nov 26 08:41:00 PST 2013
winaccessibility/source/service/AccObject.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 3cc25be9cd42307b00c29f2862ffab634d05d824
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 26 17:40:36 2013 +0100
Replace deprecated OUString::valueOf -> OUString::number
Change-Id: Ia9c5d9ce424f810b31ccc8ec939e1ced301329f7
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 124d29b..4943d34 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -430,7 +430,7 @@ void AccObject::SetValue( Any pAny )
sal_uInt16 val;
if (pAny >>= val)
{
- strValue=::rtl::OUString::valueOf((sal_Int32)val);
+ strValue=::rtl::OUString::number(val);
}
}
@@ -460,7 +460,7 @@ void AccObject::SetValue( Any pAny )
double val;
if (pAny >>= val)
{
- strValue=::rtl::OUString::valueOf(val);
+ strValue=::rtl::OUString::number(val);
}
}
else if(pAny.getValueType() == getCppuType( (sal_Int32 *)0 ) )
@@ -468,7 +468,7 @@ void AccObject::SetValue( Any pAny )
sal_Int32 val;
if (pAny >>= val)
{
- strValue=::rtl::OUString::valueOf(val);
+ strValue=::rtl::OUString::number(val);
}
}
else if (pAny.getValueType() == getCppuType( (com::sun::star::accessibility::TextSegment *)0 ) )
More information about the Libreoffice-commits
mailing list