diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-09 08:57:25 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-09 08:57:25 +0100 |
commit | f80714706a432613472e0671586abdc7ee7e68f6 (patch) | |
tree | 5aaaadb30ccb53ddfb035c31022d052ce084c16a /testautomation/global/system | |
parent | 99884388880ee725e65b285cbe50c2e0ae595e22 (diff) |
vitomation01: #i109562 - replaced a number of loops for document deletion, there is a function for this (hFileCloseAll)
Diffstat (limited to 'testautomation/global/system')
-rw-r--r-- | testautomation/global/system/includes/master.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testautomation/global/system/includes/master.inc b/testautomation/global/system/includes/master.inc index 45e9696559ea..6a76212d5c87 100644 --- a/testautomation/global/system/includes/master.inc +++ b/testautomation/global/system/includes/master.inc @@ -70,7 +70,7 @@ sub GetUseFiles gTestcaseStart = Now() ' get start time of test preparation phase - GVERBOSE = FALSE + GVERBOSE = FALSE ' global switch to make some functions more talkative for profiling purposes use "global\system\includes\sysinfo.inc" '///+ sysinfo.inc : routines to get all system informations use "global\system\includes\inivalue.inc" '///+ inivalue.inc : routines to work with ini-files @@ -344,9 +344,7 @@ sub FirstOfficeStart 'Needs to get executed everytime after a 'ResetApplication' command catchGPF false ' Recover to backingwindow, until resetApplication can handle this - for i = 1 to getDocumentCount - hCloseDocument() - next i + hFileCloseAll() end sub '------------------------------------------------------------------------- |