summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
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 );