summaryrefslogtreecommitdiff
path: root/uitest/libreoffice
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/libreoffice')
-rw-r--r--uitest/libreoffice/calc/document.py2
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