diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:46:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:47 +0100 |
commit | 6194c26e1eaf7ff3534202fcd9e734645010a30d (patch) | |
tree | c5c023443031dd16b9880186a8803a7a4fa08fd4 /filter/source/svg | |
parent | 7889f9e5a3b43d7edb6c6fdb3432d5a88fc804ac (diff) |
Some more loplugin:cstylecast: filter
Change-Id: If04f2b4e26abd7375a91bd49d7e0744ddd0f0ba6
Diffstat (limited to 'filter/source/svg')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 0eceaebc3ca1..d7235a911d56 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -3636,7 +3636,7 @@ SVGWriter::~SVGWriter() void SAL_CALL SVGWriter::write( const Reference<XDocumentHandler>& rxDocHandler, const Sequence<sal_Int8>& rMtfSeq ) throw( RuntimeException, std::exception ) { - SvMemoryStream aMemStm( (char*) rMtfSeq.getConstArray(), rMtfSeq.getLength(), StreamMode::READ ); + SvMemoryStream aMemStm( const_cast<sal_Int8 *>(rMtfSeq.getConstArray()), rMtfSeq.getLength(), StreamMode::READ ); GDIMetaFile aMtf; ReadGDIMetaFile( aMemStm, aMtf ); |