From 7aa7f4d9e4294959748bccf9e763154740251635 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Sep 2017 08:53:38 +0200 Subject: loplugin:unnecessaryparen include c++ casts Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppu/source/uno/assign.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppu/source/uno') diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx index 59257c44b09a..8ee7010972d2 100644 --- a/cppu/source/uno/assign.hxx +++ b/cppu/source/uno/assign.hxx @@ -425,7 +425,7 @@ inline bool _assignData( typelib_TypeDescription * pTD = pSourceTypeDescr; while (pTD && !_type_equals( pTD->pWeakRef, pDestType )) { - pTD = &(reinterpret_cast(pTD))->pBaseTypeDescription->aBase; + pTD = &reinterpret_cast(pTD)->pBaseTypeDescription->aBase; } if (pTD) // is base of dest { -- cgit