mirror of
https://github.com/simon987/sist2.git
synced 2025-04-16 08:56:45 +00:00
empty docx bugfix
This commit is contained in:
parent
8451109ecd
commit
80fbcb2a01
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user