diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 08:45:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-10 08:46:14 +0200 |
commit | 24baf6c30e89244465f0b33d6b40b0773f932f95 (patch) | |
tree | 21d2bd86c56afa5b857cedd867558bcc6ed2783d /oox/source | |
parent | 2466aa27429b2ffcc45f108284396d7527470e78 (diff) |
loplugin:cstylecast
Change-Id: Id42868685afabd42854655cb2fc5a48f932c888a
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 9b1e751a6df9..3f9690f4f2bb 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -300,7 +300,7 @@ void VBACompression::write() // section 2.4.1.1.1 mrCompressedStream.WriteUInt8(0x01); // signature byte of a compressed container bool bStreamNotEnded = true; - const sal_uInt8* pData = (const sal_uInt8*)mrUncompressedStream.GetData(); + const sal_uInt8* pData = static_cast<const sal_uInt8*>(mrUncompressedStream.GetData()); sal_Size nSize = mrUncompressedStream.GetEndOfData(); sal_Size nRemainingSize = nSize; while(bStreamNotEnded) |