diff options
author | Chenxiong Qi <qcxhome@gmail.com> | 2022-09-01 08:44:20 +0800 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-05 16:05:56 +0200 |
commit | 9928f139e858768047b8dea0405720395beb18cd (patch) | |
tree | 2c94ff2463ce205c41c80b0c26ff82cd3a1cf244 /uitest/libreoffice | |
parent | 14cff82b314709db488d929b75c254fbb0355419 (diff) |
tdf#97361 replace getCellByPosition with access by subscript
Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
Change-Id: I50d6e29c34e3cf72cdf0afc9f118fafc3c144eaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uitest/libreoffice')
-rw-r--r-- | uitest/libreoffice/calc/document.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/libreoffice/calc/document.py b/uitest/libreoffice/calc/document.py index 40a2ec635e3c..b837bda72521 100644 --- a/uitest/libreoffice/calc/document.py +++ b/uitest/libreoffice/calc/document.py @@ -24,7 +24,7 @@ def get_cell_by_position(document, tab, column, row): row -- The 0-based row number """ sheet = get_sheet_from_doc(document, tab) - return sheet.getCellByPosition(column, row) + return sheet[row,column] def get_column(document, column, tab = 0): """ Get the column object through the column index |