summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorHelge Delfs [hde] <hde@openoffice.org>2010-07-06 15:00:28 +0200
committerHelge Delfs [hde] <hde@openoffice.org>2010-07-06 15:00:28 +0200
commit2417ca4be83efe9c81b220f069dc34f2c6685c63 (patch)
tree8f3717b46238b08644a49e0bf20e2d0478b35fca /testautomation
parent072fcc5c846555b887de01fd87406f7a253168d1 (diff)
automationdev300m84#i112973#exchanged hFileExists with FileExists
Diffstat (limited to 'testautomation')
-rwxr-xr-xtestautomation/writer/optional/includes/fields/w_fields2.inc4
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