summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:06 +0200
commit224c8aabaa1cbe8cd203d735382a7478ba07d14d (patch)
tree30f6c2be7993ee408f21164bc792b31adbb32b0d /io
parent91957a75aab89415d92aa137d73fc5cf892a0408 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I61dc52779d3b873ba5429ddf53ba5be159b28ff2
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/odata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index fa289f15c398..a4b48c9ac71f 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -646,7 +646,7 @@ void ODataOutputStream::writeChar(sal_Unicode Value)
RuntimeException, std::exception)
{
Sequence<sal_Int8> aTmp( 2 );
- sal_Int8 * pBytes = ( sal_Int8 * ) aTmp.getArray();
+ sal_Int8 * pBytes = aTmp.getArray();
pBytes[0] = sal_Int8(Value >> 8);
pBytes[1] = sal_Int8(Value);
writeBytes( aTmp );