diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 19:01:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:50 +0100 |
commit | b70b4e644b5bb5356509505855418453dc621cfc (patch) | |
tree | 0a2441aa91947032d398b688f73553ff4d5a4afb /sal/rtl/byteseq.cxx | |
parent | 2e160b1e0e5b28b8a6ddfa07fc6ffff1c6e590bc (diff) |
Some more loplugin:cstylecast: sal
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
Diffstat (limited to 'sal/rtl/byteseq.cxx')
-rw-r--r-- | sal/rtl/byteseq.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/byteseq.cxx b/sal/rtl/byteseq.cxx index f0f190125dce..cd25a62a25e0 100644 --- a/sal/rtl/byteseq.cxx +++ b/sal/rtl/byteseq.cxx @@ -234,7 +234,7 @@ sal_Bool SAL_CALL rtl_byte_sequence_equals( sal_Sequence *pSequence1 , sal_Seque const sal_Int8 *SAL_CALL rtl_byte_sequence_getConstArray( sal_Sequence *pSequence ) SAL_THROW_EXTERN_C() { - return ((const sal_Int8*)(pSequence->elements)); + return reinterpret_cast<sal_Int8*>(pSequence->elements); } sal_Int32 SAL_CALL rtl_byte_sequence_getLength( sal_Sequence *pSequence ) |