If odt had unupdated Table of Contents (ToC), then in pdf ToC may have wrong page numbers (If ToC grows for more than 1 page while updating)
Fixing Issue #120 (When converting odt to pdf table of contents may h…
…ave wrong page numbers)
I added cycle to update indexes two times.
Fixing fix for issue #120
indexes.getByIndex(i).update() must be called second time
after second call to
indexes = document.getDocumentIndexes()
We fixed this a long time ago so I think we can close this issue.
Thanks for your help !