This commit is contained in:
Elena Subbotina
2024-07-03 15:07:35 +03:00
parent fd60059dd6
commit e164168418

View File

@ -586,7 +586,9 @@ namespace DocFileFormat
if ( _styleChpx )
{
StyleSheetDescription* thisStyle = _doc->Styles->Styles->at( styleId );
styleId = (unsigned short)thisStyle->istdBase;
if (thisStyle)
styleId = (unsigned short)thisStyle->istdBase;
}
//build the style hierarchy