summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwpfilter/source/hwpreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index ef40fa2ddb67..f31f1e779e60 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] &&