summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-15 15:00:51 +0100
committerEike Rathke <erack@redhat.com>2014-01-20 13:37:03 +0000
commit145a4c58b51d3e9e6b5914b65ad9a73247ae7061 (patch)
treeca6be5e2469dd67201b9d4b802f06dbbef6d26f7
parent99251c897665cf45e2be813a53eb850aa67ffda1 (diff)
fdo#72397: vcl: do not enable A11y in Win32 message handler
On the libreoffice-4-2 branch, IA2 is experimental so it must be enabled by user explicitly; the automatic enabling when a WM_GETOBJECT is received will effectively enable the JAB which can be annoying. Change-Id: I16bd8d77657567ad29f3538cd3ab1de8145d531e Reviewed-on: https://gerrit.libreoffice.org/7443 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit bbaa97a79a72391aaa3dda1a55d92938ab3ea466) Reviewed-on: https://gerrit.libreoffice.org/7499 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--vcl/win/source/window/salframe.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index f7c30865002c..d9f57b815c53 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -5487,12 +5487,7 @@ static void ImplHandleIMENotify( HWND hWnd, WPARAM wParam )
static bool
ImplHandleGetObject(HWND hWnd, LPARAM lParam, WPARAM wParam, LRESULT & nRet)
{
- // IA2 should be enabled automatically
- AllSettings aSettings = Application::GetSettings();
- MiscSettings aMisc = aSettings.GetMiscSettings();
- aMisc.SetEnableATToolSupport( sal_True );
- aSettings.SetMiscSettings( aMisc );
- Application::SetSettings( aSettings );
+ // IA2 should not be enabled automatically since it's experimental
if (!Application::GetSettings().GetMiscSettings().GetEnableATToolSupport())
return false; // locked down somehow ?