diff options
author | Helge Delfs [hde] <hde@openoffice.org> | 2010-07-06 15:00:28 +0200 |
---|---|---|
committer | Helge Delfs [hde] <hde@openoffice.org> | 2010-07-06 15:00:28 +0200 |
commit | 2417ca4be83efe9c81b220f069dc34f2c6685c63 (patch) | |
tree | 8f3717b46238b08644a49e0bf20e2d0478b35fca /testautomation | |
parent | 072fcc5c846555b887de01fd87406f7a253168d1 (diff) |
automationdev300m84#i112973#exchanged hFileExists with FileExists
Diffstat (limited to 'testautomation')
-rwxr-xr-x | testautomation/writer/optional/includes/fields/w_fields2.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testautomation/writer/optional/includes/fields/w_fields2.inc b/testautomation/writer/optional/includes/fields/w_fields2.inc index 4023480ff7dd..422be7088a14 100755 --- a/testautomation/writer/optional/includes/fields/w_fields2.inc +++ b/testautomation/writer/optional/includes/fields/w_fields2.inc @@ -879,7 +879,7 @@ testcase tDocumentStatistics ' document has to be copied to local file system to avoid opening a read-only file ' because all field data gets lost if documents write-protection is removed via 'sMakeReadOnlyDocumentEditable' FileCopy (sOriginalFile, sTestFile) - if hFileExists ( sTestFile ) = false then + if FileExists ( sTestFile ) = false then Warnlog "Test document couldn't be copied to local file system. Test aborted!" goto endsub end if @@ -942,7 +942,7 @@ testcase tDocumentTemplate ' document has to be copied to local file system to avoid opening a read-only file ' because all field data gets lost if documents write-protection is removed via 'sMakeReadOnlyDocumentEditable' FileCopy (sOriginalFile, sTestFile) - if hFileExists ( sTestFile ) = false then + if FileExists ( sTestFile ) = false then Warnlog "Test document couldn't be copied to local file system. Test aborted!" goto endsub end if |