--- psiconv/trunk/lib/psiconv/parse_common.c 2000/12/20 22:07:49 70 +++ psiconv/trunk/lib/psiconv/parse_common.c 2001/01/17 00:05:08 94 @@ -22,8 +22,8 @@ #include #include -#include "data.h" #include "parse_routines.h" +#include "error.h" static int psiconv_parse_layout_section(const psiconv_buffer buf, int lev,psiconv_u32 off, @@ -89,7 +89,10 @@ } else if ((*result)->uid3 == PSICONV_ID_SKETCH) { (*result)->file = psiconv_sketch_file; psiconv_debug(lev+2,off+len,"File is a Sketch file"); - } + } else if ((*result)->uid3 == PSICONV_ID_SHEET) { + (*result)->file = psiconv_sheet_file; + psiconv_debug(lev+2,off+len,"File is a Sheet file"); + } } else if ((*result)->uid2 == PSICONV_ID_MBM_FILE) { (*result)->file = psiconv_mbm_file; if ((*result)->uid3 != 0x00) @@ -824,11 +827,11 @@ } int psiconv_parse_styleless_layout_section(const psiconv_buffer buf, - int lev,psiconv_u32 off, - int *length, - psiconv_text_and_layout result, - psiconv_character_layout base_char, - psiconv_paragraph_layout base_para) + int lev,psiconv_u32 off, + int *length, + psiconv_text_and_layout result, + const psiconv_character_layout base_char, + const psiconv_paragraph_layout base_para) { int res = 0; psiconv_word_styles_section styles_section;