diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 21:11:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 21:17:20 +0100 |
commit | ad5a6b4d589ed7e13a5bb57339826021d377c046 (patch) | |
tree | 1aa9c676ee4e9a3b9ac9613333f6b4b821e8b747 /unotest | |
parent | dad2f1440c1fed230da40927503e30267ce1fa84 (diff) |
fix leak in HeaderFooterTabPage seen examining coverity#1371205
In the case that the field data is not a SvxDateTimeField or SvxDateField
then the old "aFieldInfo.pFieldItem = nullptr" call will mean that
the pFieldItem is leaked for that element.
The only thing needed later is the existance of a date field, and the field's
position, so encode those two facts as a bool and EPosition and
stop abusing aFieldInfo.pFieldItem to serve as a flag
Change-Id: I6a1c46d32406dbd6865cfcf6d23a3863bada6810
Diffstat (limited to 'unotest')
0 files changed, 0 insertions, 0 deletions