diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index b97f66ded5ba..343e47cac173 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -610,7 +610,7 @@ void WW8Export::ExportDopTypography(WW8DopTypography &rTypo) OSL_ENSURE( nNoNeeded<=1, "Example of unexportable forbidden chars" ); rTypo.reserved1=nUseReserved; - if (rTypo.iLevelOfKinsoku) + if (rTypo.iLevelOfKinsoku && pUseMe) { rTypo.cchFollowingPunct = msword_cast (pUseMe->beginLine.getLength());