DocFormatReader - fix bugs user files

This commit is contained in:
ElenaSubbotina
2016-09-30 14:49:45 +03:00
parent 43cee9c337
commit 5c3b05f490
8 changed files with 865 additions and 19 deletions

View File

@ -607,7 +607,11 @@ namespace DocFileFormat
{
if ( istd < styleSheet->Styles->size() )
{
CharacterPropertyExceptions* baseChpx = styleSheet->Styles->at( istd )->chpx;
StyleSheetDescription* style = styleSheet->Styles->at( istd );
if (!style)
break;
CharacterPropertyExceptions* baseChpx = style->chpx;
if ( baseChpx != NULL )
{