diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-13 08:49:31 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-13 08:49:31 +0200 |
commit | 17c7ecaf73182ad6f9aecff5f34d2ee87fe54aad (patch) | |
tree | 20e9f8805051b07a6e9a5ff6dc12fc46435bb74e /testautomation/spreadsheet/tools/includes | |
parent | fda546871f70bab4f351bd0c912bfdb454366763 (diff) |
automationdev300m87: #i112208# - Eliminate sMakeReadonlyDocumentEditable() calls for spreadsheet tools
Diffstat (limited to 'testautomation/spreadsheet/tools/includes')
-rw-r--r--[-rwxr-xr-x] | testautomation/spreadsheet/tools/includes/c_l10n_tools.inc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/testautomation/spreadsheet/tools/includes/c_l10n_tools.inc b/testautomation/spreadsheet/tools/includes/c_l10n_tools.inc index 382e48f94f86..ff4c508d6c4d 100755..100644 --- a/testautomation/spreadsheet/tools/includes/c_l10n_tools.inc +++ b/testautomation/spreadsheet/tools/includes/c_l10n_tools.inc @@ -50,13 +50,11 @@ function fFunctionname ( sFunctionname_en as string ) as string use "global/tools/includes/required/t_doc2.inc" const CFN = "qa:qatesttool:spreadsheet:tools:includes:c_l10n_tools.in:fFunctionname " - sloaddocument = Convertpath (gTesttoolPath + "spreadsheet\tools\input\Functionnames.ods" ) + sloaddocument = gTesttoolPath & "spreadsheet\tools\input\Functionnames.ods" '///Load document with all functions <i>gTestToolPath</i>/spreadsheet/tools/input/Functionnames.ods - call hFileOpen ( sloaddocument ) + hFileOpenLocally( sloaddocument ) sleep (2) - '///Make sure that the file is editable - call sMakeReadOnlyDocumentEditable() '///Setting selection to A1 to avoid messagebox in Search and Replace dialog. call fCalcSelectRange ("A1") @@ -145,13 +143,10 @@ function fError_l10n ( sError_en as string ) as string use "global/tools/includes/required/t_doc2.inc" const CFN = "qa:qatesttool:spreadsheet:tools:includes:c_l10n_tools.in:fError_l10n " - sloaddocument = Convertpath (gTesttoolPath + "spreadsheet\tools\input\Errorcodes.ods" ) + sloaddocument = gTesttoolPath & "spreadsheet\tools\input\Errorcodes.ods" '///Load document with all errorcodes <i>gTestToolPath</i>/spreadsheet/tools/input/Errorcodes.ods - call hFileOpen ( sloaddocument ) - sleep (2) - '///Make sure that the file is editable - call sMakeReadOnlyDocumentEditable() + hFileOpenLocally( sloaddocument ) '///Setting selection to A1 to avoid messagebox in Search and Replace dialog. call fCalcSelectRange ("A1") |