embeddedobj/source/msole/olecomponent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 587b6906d5b9ae1ac9368f1e48d84285cebaece3 Author: Stephan Bergmann <[email protected]> Date: Mon Jan 22 13:01:39 2018 +0100 loplugin:unnecessaryparen (clang-cl) Change-Id: Iff2b28120e0c43f13d4fb21a75746f2a289214c7 Reviewed-on: https://gerrit.libreoffice.org/48312 Tested-by: Jenkins <[email protected]> Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 738d87fa6452..290318a4d109 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -466,7 +466,7 @@ OleComponent::~OleComponent() aIter != m_pNativeImpl->m_aFormatsList.end(); ++aIter ) { - delete (*aIter); + delete *aIter; (*aIter) = nullptr; } m_pNativeImpl->m_aFormatsList.clear(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
