summaryrefslogtreecommitdiff
path: root/testautomation/writer/optional/includes/fields/w_fields7.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/optional/includes/fields/w_fields7.inc')
-rwxr-xr-x[-rw-r--r--]testautomation/writer/optional/includes/fields/w_fields7.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/testautomation/writer/optional/includes/fields/w_fields7.inc b/testautomation/writer/optional/includes/fields/w_fields7.inc
index fdec55afb9ce..70dfedc62085 100644..100755
--- a/testautomation/writer/optional/includes/fields/w_fields7.inc
+++ b/testautomation/writer/optional/includes/fields/w_fields7.inc
@@ -220,7 +220,7 @@ testcase tL10NtestDate
' 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
@@ -343,7 +343,7 @@ testcase tL10NtestTime
' 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