You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by st...@apache.org on 2013/11/14 06:15:45 UTC

svn commit: r1541823 - /openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx

Author: steve_y
Date: Thu Nov 14 05:15:44 2013
New Revision: 1541823

URL: http://svn.apache.org/r1541823
Log:
Fix for i123643 - [ia2] IAccessible2 is not enabled automatically even with an AT running

Modified:
    openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx

Modified: openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx?rev=1541823&r1=1541822&r2=1541823&view=diff
==============================================================================
--- openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx (original)
+++ openoffice/branches/ia2/main/vcl/win/source/window/salframe.cxx Thu Nov 14 05:15:44 2013
@@ -6204,6 +6204,13 @@ LRESULT CALLBACK SalFrameWndProc( HWND h
 				}
 				else
 				{
+					// IA2 should be enabled automatically
+					AllSettings aSettings = Application::GetSettings();
+					MiscSettings aMisc = aSettings.GetMiscSettings();
+					aMisc.SetEnableATToolSupport( sal_True );
+					aSettings.SetMiscSettings( aMisc );
+					Application::SetSettings( aSettings );
+
 					if (Application::GetSettings().GetMiscSettings().GetEnableATToolSupport())
 					{
 						// Make sure to launch Accessibiliity only the following criterias are satisfied to avoid RFT interrupts regular acc processing