diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-11 15:25:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-17 07:08:23 +0200 |
commit | 9685276b975aa37d16ba81dd8294b5717e3823df (patch) | |
tree | 58a0b916218bf99ea5b0c6c77d3c913f317b512a /cppu/source/uno/lbenv.cxx | |
parent | a0a5f7695388627246d30701afdbd68ed812ddc9 (diff) |
cppu and cppuhelper: loplugin: cstylecast
Add a macro in include/cppuhelper/implbase_ex.hxx
to make initialising the type_entry classes a little less verbose.
Change-Id: I0904b5b9db269c92bc89e7ce3d6c8b09350c9897
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index c38a9b7a2eb0..5adecc3ce2c0 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -98,7 +98,7 @@ struct FctPtrHash : public ::std::unary_function< const void *, ::std::size_t > { ::std::size_t operator () ( const void * pKey ) const - { return (::std::size_t) pKey; } + { return reinterpret_cast<::std::size_t>( pKey ); } }; |