summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-18 21:43:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:53 +0100
commitf6cfe99d22041061b8042cdab05e57180c0ab70a (patch)
tree1d1003eb0af1e2d4a736f2a4870f222b5c51eb45
parent42f08a9bdb8efd6953708f82c4ae25c83018db31 (diff)
Some more loplugin:cstylecast: vbahelper
Change-Id: I0b09119d0084ac4eed8d805c4fbca0afc013080d
-rw-r--r--vbahelper/source/vbahelper/vbaapplicationbase.cxx4
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 ) );
}
};