summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 10:52:41 +0200
commit7aa7f4d9e4294959748bccf9e763154740251635 (patch)
tree79fc3855ce0cc1141abdda514df374cd42ab259c /embeddedobj
parent6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (diff)
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/olepersist.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 35ddeb1b9be6..cff38074655a 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -398,7 +398,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
// write 0xFFFFFFFF at the beginning
uno::Sequence< sal_Int8 > aData( 4 );
- *( reinterpret_cast<sal_uInt32*>(aData.getArray()) ) = 0xFFFFFFFF;
+ * reinterpret_cast<sal_uInt32*>(aData.getArray()) = 0xFFFFFFFF;
xTempOutStream->writeBytes( aData );
@@ -429,7 +429,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
xTempOutStream->writeBytes( aData );
// write l-index
- *( reinterpret_cast<sal_uInt32*>(aData.getArray()) ) = 0xFFFFFFFF;
+ * reinterpret_cast<sal_uInt32*>(aData.getArray()) = 0xFFFFFFFF;
xTempOutStream->writeBytes( aData );
// write adv. flags
@@ -437,7 +437,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea
xTempOutStream->writeBytes( aData );
// write compression
- *( reinterpret_cast<sal_uInt32*>(aData.getArray()) ) = 0x0;
+ * reinterpret_cast<sal_uInt32*>(aData.getArray()) = 0x0;
xTempOutStream->writeBytes( aData );
// get the size