RF - minor cleanup of pdf_odf code
Merge pull request #129 from MrBago/fixup

RF - minor cleanup of pdf_odf code