crash on exit from xml form document with accessibility enabled

(cherry picked from commit 0c3211b1f20383b4fbee8978e88c21e498e35047)

Conflicts:
	svtools/source/contnr/treelistbox.cxx

Change-Id: If60075b939569cf339f7ccf7e39e513fbe1f74bf