Fixed OOO V4.x documents not building Table of contents correctly

This has been tested successfully with
odt documents from LibreOffice 3.6.6.2 and LibreOffice 4.0.4
Merge pull request #1 from BlindGenius/master

Fixed V4.x documents not building dtbook xml Table of contents correctly