From 9928f139e858768047b8dea0405720395beb18cd Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Thu, 1 Sep 2022 08:44:20 +0800 Subject: tdf#97361 replace getCellByPosition with access by subscript Signed-off-by: Chenxiong Qi Change-Id: I50d6e29c34e3cf72cdf0afc9f118fafc3c144eaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139141 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uitest/libreoffice/calc/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uitest') 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 -- cgit