diff options
author | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-10-25 17:00:01 +0200 |
---|---|---|
committer | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-10-25 17:00:01 +0200 |
commit | f928dde9b40906d4813c9acd140a80340adaa8ec (patch) | |
tree | 039dce50c3083cc4556f42f052857a5befccd812 /testautomation | |
parent | eccd3b2a1b578600d9d53356d043906a6ae271c9 (diff) |
#i115106# math part
Diffstat (limited to 'testautomation')
-rw-r--r--[-rwxr-xr-x] | testautomation/math/optional/includes/m_101_.inc | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/testautomation/math/optional/includes/m_101_.inc b/testautomation/math/optional/includes/m_101_.inc index 989857403546..58582452dc63 100755..100644 --- a/testautomation/math/optional/includes/m_101_.inc +++ b/testautomation/math/optional/includes/m_101_.inc @@ -302,7 +302,7 @@ function TBOloadFormulaFromFile () as string '///+ take formula out of command window /// '///+ save it into a variable /// '/// close dokument /// - Call hFileOpen ( ConvertPath(gTesttoolPath + "math/optional/input/101_1.sxm") ) + Call hFileOpenLocally ( ConvertPath(gTesttoolPath + "math/optional/input/101_1.sxm") ) kontext "dokumentwriter" try EditSelectAllMath @@ -344,8 +344,7 @@ testcase tFilePrint goto endsub endif - Call hFileOpen ( ConvertPath(gTesttoolPath + "math/optional/input/101_2.sxw") ) - TBOmakeWriteable() + Call hFileOpenLocally ( ConvertPath(gTesttoolPath + "math/optional/input/101_2.sxw") ) '/// find the translated formula in the document and get the language it belongs to ///' '///+ compare it to the officelanguage ///' @@ -581,28 +580,6 @@ testcase tFilePrint endcase -function TBOmakeWriteable() - ' check if writeable! (especially for HTML Doks!!) - sleep (3) - try - UseBindings - FormatStyleBold - sleep 2 - FormatStyleBold - catch - '/// make document writeable :-)///' - kontext "Funktionsleiste" - printlog "ReadOnly, changed it to writeable." - Bearbeiten.click - kontext - if active.exists (5) then - Printlog " active, accessrights ?!: '"+active.GetText+"'" - active.yes - endif - endcatch - sleep (3) -end function - function isCheckedWarnAlienFormat (optional bChange as boolean) dim uno dim ap |