diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:21:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:21:57 +0100 |
commit | 57bbe564ba171663f6335b27df12352c71ed1832 (patch) | |
tree | 9f2af6d33d3c35c4e6cf86c3f9226e885418a80c /idlc/source/idlccompile.cxx | |
parent | ac489a4d36332a612e2601b659a0d30b7449f9c5 (diff) |
More loplugin:cstylecast: idlc
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: I1cb9e69b8138cb5bb63f18231018f166b67b3072
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r-- | idlc/source/idlccompile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index 9c53e634300e..84f026a1db89 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -136,7 +136,7 @@ OString makeTempName(const OString& prefix) #if defined(SAL_W32) || defined(SAL_UNX) OSL_ASSERT( sizeof(tmpFilePattern) > - (size_t) ( tmpPath.getLength() + static_cast<size_t>( tmpPath.getLength() + RTL_CONSTASCII_LENGTH( PATH_SEPARATOR ) + prefix.getLength() + RTL_CONSTASCII_LENGTH( "XXXXXX") ) ); @@ -329,7 +329,7 @@ sal_Int32 compileFile(const OString * pathname) nullptr, startDir.pData, nullptr, 0, &hProcess ); oslProcessInfo hInfo; - hInfo.Size = (sal_uInt32)(sizeof(oslProcessInfo)); + hInfo.Size = sal_uInt32(sizeof(oslProcessInfo)); if (osl_getProcessInfo(hProcess, osl_Process_EXITCODE, &hInfo) != osl_Process_E_None) { |