diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-21 09:01:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-21 13:29:12 +0200 |
commit | 7ecd9e1e6c57d9763ff57e42cccbd32243d2a4db (patch) | |
tree | eae08679adac1904f34dfeb7f26427eac1908860 /slideshow | |
parent | f6afdd94def385c2851f92dd39a3197e540494f4 (diff) |
cid#1515521 Dereference before null check
Change-Id: Ida2a6fa69b5ca771c87669b8c58e8febb0f8a2f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140307
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/drawshape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx index f7ffbe1de622..8993c8edbe77 100644 --- a/slideshow/source/engine/shapes/drawshape.cxx +++ b/slideshow/source/engine/shapes/drawshape.cxx @@ -394,7 +394,7 @@ namespace slideshow::internal prepareHyperlinkIndices(); - if(mbContainsPageField && mpCurrMtf && !maBounds.isEmpty()) + if(mbContainsPageField && !maBounds.isEmpty()) { // tdf#150402 Use mbContainsPageField that gets set in prepareHyperlinkIndices // which has to be run anyways, so this will cause no harm in execution speed. |