mirror of
https://github.com/simon987/sist2.git
synced 2025-12-11 14:38:54 +00:00
empty docx bugfix
This commit is contained in:
@@ -28,6 +28,10 @@ int should_read_part(opcPart part) {
|
||||
|
||||
char *part_name = (char *) part;
|
||||
|
||||
if (part == NULL) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if ( // Word
|
||||
strcmp(part_name, "word/document.xml") == 0
|
||||
|| strncmp(part_name, "word/footer", sizeof("word/footer") - 1) == 0
|
||||
|
||||
Reference in New Issue
Block a user