summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorThorsten Bosbach <tbo@OpenOffice.org>2010-10-25 15:57:35 +0200
committerThorsten Bosbach <tbo@OpenOffice.org>2010-10-25 15:57:35 +0200
commiteccd3b2a1b578600d9d53356d043906a6ae271c9 (patch)
treecd071805a1048e5c799115a6078e245dda5c7285 /testautomation
parent999314ef0ca6fcfab46ae1f169f6eb3c6e16b055 (diff)
#i115106# fix modified file and conflict from m89
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/graphics/optional/includes/global/g_spellcheck.inc14
1 files changed, 6 insertions, 8 deletions
diff --git a/testautomation/graphics/optional/includes/global/g_spellcheck.inc b/testautomation/graphics/optional/includes/global/g_spellcheck.inc
index 6dd730b29ba8..e1f02de039cc 100644
--- a/testautomation/graphics/optional/includes/global/g_spellcheck.inc
+++ b/testautomation/graphics/optional/includes/global/g_spellcheck.inc
@@ -56,8 +56,7 @@ testcase tiToolsSpellcheckCheck_AlwaysIgnore
sExt = ".odp"
endif
- Call hFileOpen (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
- call fMakeDocumentWritable()
+ Call hFileOpenLocally (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
sleep(1)
@@ -98,6 +97,7 @@ testcase tiToolsSpellcheckCheck_AlwaysIgnore
' remove the word again from the dictionary
delete_word_from_dictionary(sWrongWord,"IgnoreAllList")
+ kill (convertPath(gOfficePath+"user/work/"+"recht_"+iSprache+sExt))
endcase 'tiToolsSpellcheckCorrect
'-------------------------------------------------------------------------------
@@ -124,9 +124,7 @@ testcase tiToolsSpellcheckCheck_Change
sExt = ".odp"
endif
- Call hFileOpen (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
-
- call fMakeDocumentWritable
+ Call hFileOpenLocally (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
' Perform the test now:
printlog "Call Tools->Spellcheck"
@@ -170,6 +168,7 @@ testcase tiToolsSpellcheckCheck_Change
printlog "Close document"
Call hCloseDocument
+ kill (convertPath(gOfficePath+"user/work/"+"recht_"+iSprache+sExt))
endcase 'tiToolsSpellcheckCheck_Change
'-------------------------------------------------------------------------------
@@ -198,9 +197,7 @@ testcase tiToolsSpellcheckCheck_ChangeAll
sExt = ".odp"
endif
- Call hFileOpen (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
-
- call fMakeDocumentWritable()
+ Call hFileOpenLocally (gTesttoolpath + "graphics\required\input\recht_"+iSprache+sExt)
' Perform the test now:
printlog "Call Tools->Spellcheck"
@@ -216,6 +213,7 @@ testcase tiToolsSpellcheckCheck_ChangeAll
printlog "Close document"
Call hCloseDocument
+ kill (convertPath(gOfficePath+"user/work/"+"recht_"+iSprache+sExt))
endcase 'tiToolsSpellcheckCheck_ChangeAll