adapt sfx2 UndoManager test to renaming from "click" to "press"

RID_STR_ACC_ACTION_CLICK in efb23f29983f87104a684e7fab00b84fc59d131d

Change-Id: If684816602db38fa87b6272c0491ab2ac910aece
This commit is contained in:
Michael Stahl 2013-11-26 23:08:21 +01:00
parent 38c4e94666
commit 37d7a59a3b

View File

@ -429,13 +429,13 @@ public class UndoManager
final XAccessibleAction controlActions = UnoRuntime.queryInterface( XAccessibleAction.class, accessible.getAccessibleContext() );
for ( int i=0; i<controlActions.getAccessibleActionCount(); ++i )
{
if ( controlActions.getAccessibleActionDescription(i).equals( "click" ) )
if (controlActions.getAccessibleActionDescription(i).equals("press"))
{
controlActions.doAccessibleAction(i);
return;
}
}
fail( "did not find the accessible action named 'click'" );
fail("did not find the accessible action named 'press'");
}
// -----------------------------------------------------------------------------------------------------------------