[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - filter/source

Caolán McNamara caolanm at redhat.com
Wed Jun 21 22:00:24 UTC 2017


 filter/source/msfilter/svdfppt.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d185c58fcf8d7b82bc84b16b56020c3fbaf2a876
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jun 21 09:16:33 2017 +0100

    ofz#2332 fix dangling pCObj
    
    Change-Id: Ifa62b1ce2aefa939cfceb2e110d126b785cb6e26
    Reviewed-on: https://gerrit.libreoffice.org/39035
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index f7f9c18117ee..efbb46db0c89 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -2914,6 +2914,8 @@ void SdrPowerPointImport::ImportPage( SdrPage* pRet, const PptSlidePersistEntry*
                                         pPtr->pAObj = nullptr;
                                     if (pPtr->pBObj == rSlidePersist.pBObj)
                                         pPtr->pBObj = nullptr;
+                                    if (pPtr->pCObj == rSlidePersist.pBObj)
+                                        pPtr->pCObj = nullptr;
                                 }
                             }
                             SdrObject::Free(rSlidePersist.pBObj);


More information about the Libreoffice-commits mailing list