Resolves: #i119568# The page number of the docx in the TOC is not correct

(cherry picked from commit 875f8fb79613875296139a6cbdbae265a92d7a32)

Conflicts:
	sw/source/core/unocore/unoidx.cxx

Change-Id: Ie5c66c8226284413419a5b4c105e9529cf8cadf7
enable firebird --enable-debug

Change-Id: I329edd1356fd36ffd0afd3b4d1d7b0403430d6db