Kaydet (Commit) 97a50f27 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:redundantcast, static_cast on arithmetic types: registry

Change-Id: I68adf213b6c8c44ad3eaed4cf1e0e0db764739fd
üst 4538b6d6
......@@ -1218,8 +1218,7 @@ bool TYPEREG_CALLTYPE typereg_reader_create(
try {
entry.reset(
new TypeRegistryEntry(
static_cast< sal_uInt8 const * >(buffer),
static_cast< sal_uInt32 >(length), copy));
static_cast< sal_uInt8 const * >(buffer), length, copy));
} catch (std::bad_alloc &) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment