From 64b993e046f23baaacaff1572b7d2a816588b5ef Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 21 Aug 2013 15:07:31 +0200 Subject: finish deprecation of O(U)String::valueOf() Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2 --- cppuhelper/source/propertysetmixin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppuhelper/source') diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx index f1d7c5261046..65ddfa75f0c4 100644 --- a/cppuhelper/source/propertysetmixin.cxx +++ b/cppuhelper/source/propertysetmixin.cxx @@ -513,7 +513,7 @@ rtl::OUString PropertySetMixinImpl::Impl::translateHandle( if (handle < 0 || handle >= handleMap.getLength()) { throw css::beans::UnknownPropertyException( (rtl::OUString("bad handle ") - + rtl::OUString::valueOf(handle)), + + rtl::OUString::number(handle)), object); } return handleMap[handle]; @@ -1362,7 +1362,7 @@ void PropertySetMixinImpl::setPropertyValues( (rtl::OUString("name ") + props[i].Name + rtl::OUString(" does not match handle ") - + rtl::OUString::valueOf(props[i].Handle)), + + rtl::OUString::number(props[i].Handle)), static_cast< css::beans::XPropertySet * >(this)); } m_impl->setProperty( -- cgit v1.2.3