Related bnc#837302: Don't introduce a redlined delete and the end of doc.

Conflicts:
	writerfilter/source/dmapper/DomainMapper_Impl.cxx

Change-Id: I5c3903a40b69867684707d33acbc92b1f80a93ec
Reviewed-on: https://gerrit.libreoffice.org/6898
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>