summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-21 09:16:33 +0100
committerEike Rathke <erack@redhat.com>2017-06-22 00:00:12 +0200
commitd185c58fcf8d7b82bc84b16b56020c3fbaf2a876 (patch)
treeec2b0b612b754679bd4a107b87551bd35178c263
parent1684ef2146dce6c132e3472b38b932d99f22b41c (diff)
ofz#2332 fix dangling pCObj
Change-Id: Ifa62b1ce2aefa939cfceb2e110d126b785cb6e26 Reviewed-on: https://gerrit.libreoffice.org/39035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
1 files changed, 2 insertions, 0 deletions
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);