diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 19:02:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:51 +0100 |
commit | abf133355ffa6a3cda1e44969cd0716cab4f6e61 (patch) | |
tree | 4369bc01ad2f1297a157bc5cdea79712db1eb8ea /sax/qa/cppunit | |
parent | 5ef1d9ff36e40ca24a6d3de15543481ee8b1cb58 (diff) |
Some more loplugin:cstylecast: sax
Change-Id: I3ded4f19f73a094dabd2d2da54917290ffe468f5
Diffstat (limited to 'sax/qa/cppunit')
-rw-r--r-- | sax/qa/cppunit/parser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/qa/cppunit/parser.cxx b/sax/qa/cppunit/parser.cxx index 5669d0f0bb92..824d5ecd7078 100644 --- a/sax/qa/cppunit/parser.cxx +++ b/sax/qa/cppunit/parser.cxx @@ -79,7 +79,7 @@ uno::Reference< io::XInputStream > ParserTest::createStream(const OString& sInpu { uno::Reference< io::XOutputStream > xPipe( io::Pipe::create(m_xContext) ); uno::Reference< io::XInputStream > xInStream( xPipe, uno::UNO_QUERY ); - uno::Sequence< sal_Int8 > aSeq( (sal_Int8*)sInput.getStr(), sInput.getLength() ); + uno::Sequence< sal_Int8 > aSeq( reinterpret_cast<sal_Int8 const *>(sInput.getStr()), sInput.getLength() ); xPipe->writeBytes( aSeq ); xPipe->flush(); xPipe->closeOutput(); |