… | |
… | |
452 | } else { |
452 | } else { |
453 | psiconv_debug(lev+4,off+len,"Type: %02x (not based on a paragraph type)" |
453 | psiconv_debug(lev+4,off+len,"Type: %02x (not based on a paragraph type)" |
454 | ,temp); |
454 | ,temp); |
455 | len += 0x01; |
455 | len += 0x01; |
456 | if (parse_styles) { |
456 | if (parse_styles) { |
457 | psiconv_progress(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len), |
457 | psiconv_progress(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len)+4, |
458 | "Going to read the paragraph element base style"); |
458 | "Going to read the paragraph element base style"); |
459 | temp = psiconv_read_u8(buf,lev+4, |
459 | temp = psiconv_read_u8(buf,lev+4, |
460 | off+len+psiconv_read_u32(buf,lev+4,off+len)); |
460 | off+len+psiconv_read_u32(buf,lev+4,off+len)+4); |
461 | psiconv_debug(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len), |
461 | psiconv_debug(lev+4,off+len+psiconv_read_u32(buf,lev+4,off+len)+4, |
462 | "Style: %02x",temp); |
462 | "Style: %02x",temp); |
463 | } else |
463 | } else |
464 | temp = 0x00; |
464 | temp = 0x00; |
465 | psiconv_free_paragraph_layout(para->base_paragraph); |
465 | psiconv_free_paragraph_layout(para->base_paragraph); |
466 | psiconv_free_character_layout(para->base_character); |
466 | psiconv_free_character_layout(para->base_character); |