summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-04 10:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-04 12:08:43 +0000
commitf8cff53299f31c124468cf575bd08bfbf28bc578 (patch)
tree04f9a316dbc3dbb99a3c5fcb8fd1dbf7fef18260 /extensions
parent3afca328510a9ddaf67ca578af0cbce25fa44aec (diff)
loplugin:redundantcast (clang-cl)
Change-Id: Ie096d75c1bc774e77c589845f61276d1478234ef Reviewed-on: https://gerrit.libreoffice.org/36065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/oleobjw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 32af29c6fe91..73e1d80e9515 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -1828,7 +1828,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc,
OUStringBuffer buf(256);
buf.append("ole automation bridge: The called function expects an argument at"
"position: "); //a different number of arguments")),
- buf.append(OUString::number((sal_Int32) i));
+ buf.append(OUString::number(i));
buf.append(" (index starting at 0).");
throw IllegalArgumentException( buf.makeStringAndClear(),
Reference<XInterface>(), (sal_Int16) i);