diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-18 09:54:12 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-18 09:54:12 +0100 |
commit | 085789aaf5cc00a197c99efbc95adde1bef96869 (patch) | |
tree | ef5221205d43b12289e178e791196490b4dbb5a5 /testautomation/framework/tools/includes/formcontrols.inc | |
parent | 3ab6ec6d38dd373499c8dc23310ca32a4d5a2ba8 (diff) |
vitomation01: #i109562 - Simplified formcontrols.inc - exit for-next on first success.
Diffstat (limited to 'testautomation/framework/tools/includes/formcontrols.inc')
-rwxr-xr-x | testautomation/framework/tools/includes/formcontrols.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testautomation/framework/tools/includes/formcontrols.inc b/testautomation/framework/tools/includes/formcontrols.inc index f0f2c2a63b76..11877273fcc2 100755 --- a/testautomation/framework/tools/includes/formcontrols.inc +++ b/testautomation/framework/tools/includes/formcontrols.inc @@ -783,8 +783,9 @@ function hSelectControl( iControl as integer ) as boolean end select - - hUseAsyncSlot( "ContextProperties" ) + ' We exit the loop as soon as the control is selected. Only then the slot + ' ContextProperties becomes available + if ( hUseAsyncSlot( "ContextProperties" ) <> -1 ) then exit for '///+<li>Check that the ToolsCollectionBar is open</li> 'kontext "ToolsCollectionBar" |