summaryrefslogtreecommitdiff
path: root/include/rtl/byteseq.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 19:01:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:50 +0100
commitb70b4e644b5bb5356509505855418453dc621cfc (patch)
tree0a2441aa91947032d398b688f73553ff4d5a4afb /include/rtl/byteseq.hxx
parent2e160b1e0e5b28b8a6ddfa07fc6ffff1c6e590bc (diff)
Some more loplugin:cstylecast: sal
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
Diffstat (limited to 'include/rtl/byteseq.hxx')
-rw-r--r--include/rtl/byteseq.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/byteseq.hxx b/include/rtl/byteseq.hxx
index c49e37125998..494b17c4d8bd 100644
--- a/include/rtl/byteseq.hxx
+++ b/include/rtl/byteseq.hxx
@@ -95,7 +95,7 @@ inline sal_Int8 * ByteSequence::getArray()
::rtl_byte_sequence_reference2One( &_pSequence );
if (_pSequence == 0)
throw ::std::bad_alloc();
- return (sal_Int8 *)_pSequence->elements;
+ return reinterpret_cast<sal_Int8 *>(_pSequence->elements);
}
inline void ByteSequence::realloc( sal_Int32 nSize )