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>
This commit is contained in:
Caolán McNamara 2022-09-21 09:01:22 +01:00
parent f6afdd94de
commit 7ecd9e1e6c

View file

@ -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.