do not write header block if there is no header
do not write header block if there is no header

Change-Id: If1ca7543562de6fdcc8297a75123706c705f5fc0

LibreOffice/libetonyek,LibreOffice/libetonyek,LibreOffice/libetonyek