Kaydet (Commit) 224c8aab authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: I61dc52779d3b873ba5429ddf53ba5be159b28ff2
üst 91957a75
...@@ -646,7 +646,7 @@ void ODataOutputStream::writeChar(sal_Unicode Value) ...@@ -646,7 +646,7 @@ void ODataOutputStream::writeChar(sal_Unicode Value)
RuntimeException, std::exception) RuntimeException, std::exception)
{ {
Sequence<sal_Int8> aTmp( 2 ); Sequence<sal_Int8> aTmp( 2 );
sal_Int8 * pBytes = ( sal_Int8 * ) aTmp.getArray(); sal_Int8 * pBytes = aTmp.getArray();
pBytes[0] = sal_Int8(Value >> 8); pBytes[0] = sal_Int8(Value >> 8);
pBytes[1] = sal_Int8(Value); pBytes[1] = sal_Int8(Value);
writeBytes( aTmp ); writeBytes( aTmp );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment