| commit | c97a3592c78ce276a353f95ce68c70a8a39174a0 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Sun Feb 27 15:00:38 2022 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Sun Feb 27 18:04:14 2022 +0100 |
| tree | 197a6eef726ff563951a74f7a6abd3720c6c6ae9 | |
| parent | b457e8df493aa3ccd380eba481d6996ae342b931 [diff] |
ofz#45090 Null-dereference Change-Id: I53ec35a8fe19511429004c8a94aee1bfadb55a86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130648 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index ef40fa2..f31f1e7 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx
@@ -2521,7 +2521,7 @@ void HwpReader::makeFStyle(FBoxStyle * fstyle) padd("style:horizontal-rel", sXML_CDATA, "page-content"); } } if( fstyle->boxtype == 'X' || fstyle->boxtype == 'B' ) if (fstyle->cell && (fstyle->boxtype == 'X' || fstyle->boxtype == 'B')) { Cell *cell = static_cast<Cell *>(fstyle->cell); if(cell->linetype[0] == cell->linetype[1] &&