From 56bd8bb862bf6bcb2242bc864be9abf56f0c092f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:28:16 +0100 Subject: [PATCH] More loplugin:cstylecast: codemaker auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: If1c6b7a83f6f64fbcbced4f036c0f859a1408d0c --- codemaker/source/codemaker/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index a2da02595b9b..512edab4fff7 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -330,7 +330,7 @@ bool FileStream::write(void const * buffer, sal_uInt64 size) { FileStream &operator<<(FileStream& o, sal_uInt32 i) { sal_uInt64 writtenBytes; - OString s = OString::number((sal_Int32)i); + OString s = OString::number(static_cast(i)); osl_writeFile(o.m_file, s.getStr(), s.getLength() * sizeof(sal_Char), &writtenBytes); return o; }