diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-01-14 09:59:18 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-01-14 09:59:18 +0100 |
commit | bd18de66a6c0e577e86c8e80934e2797b1cd693a (patch) | |
tree | ec28b25664980bbcf7f6d857e681a338412e9be7 | |
parent | ca1a4a31acf9cd360c820fd3683cb176d120daa5 (diff) |
Extended workaround by handling the possible copy-creation-dialog
-rwxr-xr-x | testautomation/global/tools/includes/required/t_doc2.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testautomation/global/tools/includes/required/t_doc2.inc b/testautomation/global/tools/includes/required/t_doc2.inc index 91950d3a7f31..acad89d336b2 100755 --- a/testautomation/global/tools/includes/required/t_doc2.inc +++ b/testautomation/global/tools/includes/required/t_doc2.inc @@ -139,7 +139,15 @@ function sMakeReadOnlyDocumentEditable() as boolean ' This is a little bit tricky because the state of the document is altered but if ' the slot has been executed once we know for sure that the button on the toolbar is ' available and can check its state and - if need be - chenge the document state back. + + ' ========== Workaround begin ========== hUseAsyncSlot( "EditDoc" ) + if ( Active.exists() ) then + if ( VERBOSE ) then printlog( "Handling create copy message" ) + Active.yes() + wait( 1000 ) + endif + ' ========== Workaround end ========== Kontext "Standardbar" if ( Bearbeiten.IsEnabled() ) then |