summaryrefslogtreecommitdiff
path: root/testautomation/writer/optional/includes/section/w_section_4.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/optional/includes/section/w_section_4.inc')
-rwxr-xr-x[-rw-r--r--]testautomation/writer/optional/includes/section/w_section_4.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/testautomation/writer/optional/includes/section/w_section_4.inc b/testautomation/writer/optional/includes/section/w_section_4.inc
index 3d8acb4a9cd5..03a59b567f18 100644..100755
--- a/testautomation/writer/optional/includes/section/w_section_4.inc
+++ b/testautomation/writer/optional/includes/section/w_section_4.inc
@@ -1190,11 +1190,11 @@ testcase tScenarioSection_1
j = UBound(SectionName)
- if hFileExists ( MasterDoc ) then app.kill ( MasterDoc )
+ if FileExists ( MasterDoc ) then app.kill ( MasterDoc )
For i = 0 to j
tempFile = Convertpath( gOfficePath + "user\work\" + SectionName(i) )
- if hFileExists ( tempFile ) then app.kill ( tempFile )
+ if FileExists ( tempFile ) then app.kill ( tempFile )
next i
'/// open testdocument (tScenarioSection_1.sxw) ///
@@ -1310,11 +1310,11 @@ testcase tScenarioSection_2
j = UBound(SectionName)
- if hFileExists ( MasterDoc ) then app.kill ( MasterDoc )
+ if FileExists ( MasterDoc ) then app.kill ( MasterDoc )
For i = 0 to j
tempFile = Convertpath( gOfficePath + "user\work\" + SectionName(i) )
- if hFileExists ( tempFile ) then app.kill ( tempFile )
+ if FileExists ( tempFile ) then app.kill ( tempFile )
next i
'/// open testdocument (tScenarioSection_2.sxw) ///