From f6cfe99d22041061b8042cdab05e57180c0ab70a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 18 Jan 2015 21:43:19 +0100 Subject: Some more loplugin:cstylecast: vbahelper Change-Id: I0b09119d0084ac4eed8d805c4fbca0afc013080d --- vbahelper/source/vbahelper/vbaapplicationbase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vbahelper') 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(&rTimerInfo.second.first), sizeof( double ) ) + + (size_t)rtl_str_hashCode_WithLength( reinterpret_cast(&rTimerInfo.second.second), sizeof( double ) ); } }; -- cgit