Commits

Anonymous committed b6dac85

i114543, deleting useless parts in g_tools.inc

Comments (0)

Files changed (1)

testautomation/graphics/optional/includes/global/g_tools.inc

 
     PrintLog "Thesaurus with 1 word: " + sWord
 
-    if( Ucase(gApplication) = "DRAW" ) then
-        sExt = ".odg"
-        Kontext "DrawDocument"
-    elseif( Ucase(gApplication) = "IMPRESS" ) then
-        sExt = ".odp"
-        Kontext "ImpressDocument"
-    endif
-
-    Call hFileOpen (gTesttoolpath + "graphics\required\input\recht_" + iSprache + sExt)
-    call sMakeReadOnlyDocumentEditable
+    Call hNewDocument
     Call hTextrahmenErstellen (sWord,20,20,50,30)
     sleep 1