From b9fa1e20f32653981f629b417dbe4816594e1c14 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 Aug 2013 12:09:29 +0100 Subject: build on higher debug levels Change-Id: I7f4d85f3e26ab8b19dae05c6907840b97a8af1d6 --- extensions/source/ole/oleobjw.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions') diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 0ef5557213f8..7822d93e2191 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -1040,7 +1040,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdUnoTlb(const OUString& sFunctionName, "[automation bridge]IUnknownWrapper_Impl::" "invokeWithDispIdUnoTlb\n" "Could not create out parameter at index: " + - OUString::valueOf((sal_Int32) i)); + OUString::number((sal_Int32) i)); } } @@ -1415,7 +1415,7 @@ uno::Any SAL_CALL IUnknownWrapper_Impl::directInvoke( const OUString& aName, con { throw InvocationTargetException( "[automation bridge] ITypeInfo::GetIDsOfNames returned error " - + OUString::valueOf((sal_Int32) hr, 16), Reference(), Any()); + + OUString::number((sal_Int32) hr, 16), Reference(), Any()); } } @@ -1870,7 +1870,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, { throw InvocationTargetException( "[automation bridge] ITypeInfo::GetIDsOfNames returned error " - + OUString::valueOf((sal_Int32) hr, 16), Reference(), Any()); + + OUString::number((sal_Int32) hr, 16), Reference(), Any()); } } @@ -1906,7 +1906,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, OUStringBuffer buf(256); buf.appendAscii("ole automation bridge: The called function expects an argument at" "position: "); //a different number of arguments")), - buf.append(OUString::valueOf((sal_Int32) i)); + buf.append(OUString::number((sal_Int32) i)); buf.appendAscii(" (index starting at 0)."); throw IllegalArgumentException( buf.makeStringAndClear(), Reference(), (sal_Int16) i); -- cgit