diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-06 13:04:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-06 16:29:20 +0200 |
commit | 2b9078b01889ededaf7de3e060ecf52261ef7815 (patch) | |
tree | c677402db62aec6b020455d4318394c3e646b474 | |
parent | 8e7cb64a260831f3aa6561c05f1cf0ea5be56789 (diff) |
cid#1500607 silence bogus Use after free
Change-Id: Ibcb52aad5d47635e7096025d5b31de1b81503ae6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139517
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/text/porlay.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx index e85bcb8d3071..29df569143e7 100644 --- a/sw/source/core/text/porlay.cxx +++ b/sw/source/core/text/porlay.cxx @@ -429,6 +429,7 @@ void SwLineLayout::CalcLine( SwTextFormatter &rLine, SwTextFormatInfo &rInf ) // Null portions are eliminated. They can form if two FlyFrames // overlap. + // coverity[deref_arg] - "Cut" means next "GetNextPortion" returns a different Portion if( !pPos->Compress() ) { // Only take over Height and Ascent if the rest of the line |