Related: #i123197# Fixed selection problems when switching...

between normal and master mode.

(cherry picked from commit 163d414311b0c8bcb1b0ad7c7cbf364e0ad4e4c4)

Change-Id: Ibabee4c67367c367a9ce1c5afffa76efa3f66bd7
coverity#983681 Uncaught exception

Change-Id: I13b97703f6f9c3411e6da8ec3c71f6e51c8bfc13
coverity#737447 Uncaught exception

Change-Id: I416d5b7d42a5ea49f40a18aaf4e1041307914c33
coverity#706691 Uncaught exception

Change-Id: I130f80a45f3d207c34bdc2b4b3cff9536fbe185c
coverity#705038 Explicit null dereferenced

Change-Id: I63f726764d68b92e2272951c9dde14ef3a60d6df
coverity#705963 Dereference before null check

Change-Id: I6371ef5e838d1e66ea9aeba75f554eea93426139
coverity#706146 Copy into fixed size buffer

Change-Id: I1d774cff476a2ce7fe1e4b4ba1e64bc42a6ff27e
coverity#1158515 Unused pointer value

Change-Id: I3c5be18ccd0f79079ed91f0793955b1ebab72586
coverity#1158357 Uncaught exception

Change-Id: I7d93f1c1a4e9c4b91c385d6f9e1aaab2fe635327
[API CHANGE] fix endCDATA to allow throwing css::xml::sax::SAXException

coverity#1158397 Uncaught exception

Change-Id: Iabf0b1f0500cb4218d8cb3aff372777471e8f287
coverity#1132723 Uncaught exception

Change-Id: I2b3e85875a0f706a1dfdf0177337aa9fe71a3540
add missing modelines

Change-Id: I1823890217eb11ba4206b9fd28389c633c7c4f89
coverity#1132721 fix exception specs

Change-Id: I1c499f8b994d29e265a66f4219d4c3fddb237a89
coverity#1130458 Uncaught exception

Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
coverity#1130457 Uncaught exception

Change-Id: Ie65cdb00ec8823db329d2330ed142f4d841b095a