[Libreoffice-commits] core.git: embeddedobj/source

Stephan Bergmann sbergman at redhat.com
Mon Jan 22 19:24:34 UTC 2018


 embeddedobj/source/msole/olecomponent.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 587b6906d5b9ae1ac9368f1e48d84285cebaece3
Author: Stephan Bergmann <sbergman at redhat.com>
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 <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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();


More information about the Libreoffice-commits mailing list