Resolves: fdo#82904 non-Japanese ww95 documents claiming ms932 encoding

look to the individual component commits for clarity

refactor into GetCharSetFromLanguage
(cherry picked from commit 56c9850145faa9ac04c3f09633e56b6c8c22c6c4)

sync GetCurrentCJKCharSet with GetCurrentCharSet
(cherry picked from commit 4143d7bc7078fb367130e092a354b20da57585cc)

Resolves: fdo#82904 non-Japanese ww95 documents claiming ms932 encoding
(cherry picked from commit 47b84f7e5143f445a087fc9ccc4fb29bbd88ff64)

Change-Id: Ib638dc8f1daaee3b9920153195e090d8dbc5a798
Reviewed-on: https://gerrit.libreoffice.org/11143
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Resolves: fdo#83137 NULL pAction

Change-Id: I74c4e32aae1e3aa74d197f132c900627062b6d01
(cherry picked from commit 72f4f0e9e7db6798ff002632d5bc19b72a671306)
Reviewed-on: https://gerrit.libreoffice.org/11144
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Resolves: fdo#83062 infinite recursion

regression from

commit 7c03fc2fe77f9b1f910f4ab395923e52648c32b5
Date:   Mon Sep 2 14:30:09 2013 +0000
Related: #i123048# Corrected connector layout after reload

verified that #i123048# continues to work

Change-Id: If5fce4b7a88d4d0972f52705334e4b9b48425cca
(cherry picked from commit 8d8e8942b2ee2a2e85c65d71628057316c9f5897)
Reviewed-on: https://gerrit.libreoffice.org/11149
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>