ZSS-642 Spreadsheet throws an exception when exporting PDF with charts (fix in zsspdf)