Resolves: #i123745# [IA2] Eventual crash in Writer documents containing...

cross-references

Removed some unused lines and comments
(cherry picked from commit c5e03eac50d6c20e41aa4e60cf46c898653329d1)

Conflicts:
	sw/source/core/access/accpara.cxx

Change-Id: Ie4d68bdeac048f8ee345fc3e831be6a1edae452c
coverity#1158325 Uncaught exception

Change-Id: Ic84faeda99242240c160a9925f37a631a1f294ae
coverity#1158324 Uncaught exception

Change-Id: Ia7ae803ebe1a0052de41c94a0015eaa079bdd090
coverity#1158323 Uncaught exception

Change-Id: I26d1730636b172aa4b9f8b2b9593f408cd466118
coverity#1158322 Uncaught exception

Change-Id: I213562d62f0b0e798f88ade4bc654c6d8a6c53fa
coverity#1158321 Uncaught exception

Change-Id: Ib3ef8f068cd8a366369cbb22dccc9c916439c2cd
coverity#1158304 Uncaught exception

Change-Id: Ia64eb628002ad239cbd86674c98719048cc53090
coverity#1158303 Uncaught exception

Change-Id: I8d718da4274c26a817643b0e2b0ccf38d9b54de1
coverity#1158283 Uncaught exception

Change-Id: I1e7a5ae62b8623259333cad1984946c93c4f01b8
coverity#1130421 Improper use of negative value

Change-Id: Iefdd854cb0348b187b95f4a89d52482381c73dfc
coverity#735667 Unchecked dynamic_cast

Change-Id: I747b6bcfb1e57fd3f21250b274f2f179e1982d7c
coverity#707629 Uninitialized scalar field

Change-Id: I0e3d9d4dad46e9b88be11cc9ac2c7d3c0c4b6f6e
coverity#707649 Uninitialized scalar field

Change-Id: I1a95a051463860dc9c7b087bfaf17f3b70f297ee
coverity#707650 Uninitialized pointer field

Change-Id: I6843ce28f3e1395a2ab3c5515f393cce5096674b
coverity#707651 Uninitialized scalar field

Change-Id: I6e497d60e72efd1df6c271ce6bf8d5e46ba09ea7
coverity#707652 Uninitialized scalar field

Change-Id: I6d561955454b0619255296704812b41a10ffe962
coverity#984078 Uninitialized scalar field

Change-Id: I36b4a8c7d047f392fdbbe167a0e801b9a6d80b03
coverity#441077 Dereference after null check

Change-Id: Ia6a04846068e0bc500942e9a2dc6ee2e72d9d527
nPointCount test inside nPointCount test

Change-Id: I4a78683cedd04d3daef52105d44638e3fc87d3c2
coverity#982152 Unchecked return value

Change-Id: I58fd11e38fa0b8ba7efeff8861aeec17742999c3