diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-18 21:43:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:53 +0100 |
commit | f6cfe99d22041061b8042cdab05e57180c0ab70a (patch) | |
tree | 1d1003eb0af1e2d4a736f2a4870f222b5c51eb45 /vbahelper | |
parent | 42f08a9bdb8efd6953708f82c4ae25c83018db31 (diff) |
Some more loplugin:cstylecast: vbahelper
Change-Id: I0b09119d0084ac4eed8d805c4fbca0afc013080d
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbaapplicationbase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx index 80ecc53f73f2..430fec29519c 100644 --- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx +++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx @@ -139,8 +139,8 @@ struct VbaTimerInfoHash size_t operator()( const VbaTimerInfo& rTimerInfo ) const { return (size_t)rTimerInfo.first.hashCode() - + (size_t)rtl_str_hashCode_WithLength( (char*)&rTimerInfo.second.first, sizeof( double ) ) - + (size_t)rtl_str_hashCode_WithLength( (char*)&rTimerInfo.second.second, sizeof( double ) ); + + (size_t)rtl_str_hashCode_WithLength( reinterpret_cast<char const *>(&rTimerInfo.second.first), sizeof( double ) ) + + (size_t)rtl_str_hashCode_WithLength( reinterpret_cast<char const *>(&rTimerInfo.second.second), sizeof( double ) ); } }; |