diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-04 11:20:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-05 07:49:30 +0100 |
commit | e4472d3c139294499f4c0caeebd9d4e995958eb0 (patch) | |
tree | 3e62a6530f8b758dddab18981ee38cc76ecaef9e /package | |
parent | 126e5a4d5b1d6c7ba5b313786793a38f99488b33 (diff) |
loplugin:unnecessaryparen include more assignments
Change-Id: I9fb8366634b31230b732dd38a98f800075529714
Reviewed-on: https://gerrit.libreoffice.org/64510
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package')
-rw-r--r-- | package/source/xstor/xstorage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 492d96692f65..2d2098df298a 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -1856,7 +1856,7 @@ void OStorage::InternalDispose( bool bNotifyImpl ) for ( WeakComponentVector::iterator pCompIter = m_pData->m_aOpenSubComponentsVector.begin(); pCompIter != m_pData->m_aOpenSubComponentsVector.end(); ++pCompIter ) { - uno::Reference< lang::XComponent > xTmp = (*pCompIter); + uno::Reference< lang::XComponent > xTmp = *pCompIter; if ( xTmp.is() ) { xTmp->removeEventListener( uno::Reference< lang::XEventListener >( @@ -1907,7 +1907,7 @@ void OStorage::ChildIsDisposed( const uno::Reference< uno::XInterface >& xChild for ( WeakComponentVector::iterator pCompIter = m_pData->m_aOpenSubComponentsVector.begin(); pCompIter != m_pData->m_aOpenSubComponentsVector.end(); ) { - uno::Reference< lang::XComponent > xTmp = (*pCompIter); + uno::Reference< lang::XComponent > xTmp = *pCompIter; if ( !xTmp.is() || xTmp == xChild ) { pCompIter = m_pData->m_aOpenSubComponentsVector.erase(pCompIter); @@ -2408,7 +2408,7 @@ uno::Reference< embed::XStorage > SAL_CALL OStorage::openStorageElement( for ( SotElementVector_Impl::iterator pElementIter = pElement->m_xStorage->m_aChildrenVector.begin(); pElementIter != pElement->m_xStorage->m_aChildrenVector.end(); ) { - SotElement_Impl* pElementToDel = (*pElementIter); + SotElement_Impl* pElementToDel = *pElementIter; ++pElementIter; m_pImpl->RemoveElement( pElementToDel ); |