diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-26 19:26:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-26 21:33:45 +0200 |
commit | 00a658ff104623d4e7fc984b5fc82d1a7e2607f2 (patch) | |
tree | 372aa9e9339167a3b554228d4a8ed824b12bffa3 /include | |
parent | 89251968fde77c6ddf7c95ee61da0c34dfe8ea6f (diff) |
ofz#35597 Null-dereference READ
add a check for null getTextBody() return
unfold it a bit while I'm at it
Change-Id: Ib0286048536ad576b520e1adb08fa9b36da9243f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117938
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/ppt/pptshape.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/ppt/pptshape.hxx b/include/oox/ppt/pptshape.hxx index d27a116e2783..ead382b52685 100644 --- a/include/oox/ppt/pptshape.hxx +++ b/include/oox/ppt/pptshape.hxx @@ -54,6 +54,8 @@ class PPTShape final : public oox::drawingml::Shape /// Set if spPr tag is non empty for the shape bool mbHasNoninheritedShapeProperties; + bool IsPlaceHolderCandidate(const SlidePersist& rSlidePersist) const; + public: PPTShape( const oox::ppt::ShapeLocation eShapeLocation, |