automationdev300m87: #i112208# - Eliminate sMakeReadonlyDocumentEditable() calls in module chart2

This commit is contained in:
Joerg Skottke [jsk] 2010-09-13 09:49:22 +02:00
parent b7b4868aa5
commit a09c75aca6
2 changed files with 3 additions and 9 deletions

View file

@ -782,9 +782,7 @@ endcase
'
function fOpenWriterTestDocumentAndInsertChart(sInputFile as STRING) as BOOLEAN
fOpenWriterTestDocumentAndInsertChart = FALSE
call hFileOpen(sInputFile)
sleep(2)
Call sMakeReadOnlyDocumentEditable()
hFileOpenLocally(sInputFile)
'///Menu Insert Object Chart to open chart wizard
printlog "Menu Insert Object Chart to open chart wizard"
InsertObjectChart

View file

@ -162,9 +162,7 @@ end function
'
function fOpenTestDocumentAndSelectDataRange(sInputFile as string) as BOOLEAN
fOpenTestDocumentAndSelectDataRange = FALSE
call hFileOpen(sInputFile)
sleep(2)
Call sMakeReadOnlyDocumentEditable()
hFileOpenLocally(sInputFile)
'/// Select chart using navigator
printlog "Select chart using navigator"
call fSelectFirstOLE
@ -191,9 +189,7 @@ end function
'
function fOpenTestDocumentAndInsertChart(sInputFile as string) as BOOLEAN
fOpenTestDocumentAndInsertChart = FALSE
call hFileOpen(sInputFile)
sleep(2)
Call sMakeReadOnlyDocumentEditable()
hFileOpenLocally(sInputFile)
Kontext "DocumentCalc"
printlog "Type <STRG+HOME>"
DocumentCalc.TypeKeys "<MOD1 HOME>"