diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:28:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:28:16 +0100 |
commit | 56bd8bb862bf6bcb2242bc864be9abf56f0c092f (patch) | |
tree | 3ae781e1405a757f1d0427e9dce508a146099368 /codemaker/source | |
parent | b088da2a7ab151710416f6d58a5cc6d6b908d546 (diff) |
More loplugin:cstylecast: codemaker
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: If1c6b7a83f6f64fbcbced4f036c0f859a1408d0c
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<sal_Int32>(i)); osl_writeFile(o.m_file, s.getStr(), s.getLength() * sizeof(sal_Char), &writtenBytes); return o; } |