summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uitest/libreoffice/calc/document.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/uitest/libreoffice/calc/document.py b/uitest/libreoffice/calc/document.py
index eea8d650df9b..a75324299575 100644
--- a/uitest/libreoffice/calc/document.py
+++ b/uitest/libreoffice/calc/document.py
@@ -8,4 +8,8 @@
def get_sheet_from_doc(document, index):
return document.getSheets().getByIndex(index)
+def get_cell_by_position(document, tab, column, row):
+ sheet = get_sheet_from_doc(document, tab)
+ return sheet.getCellByPosition(column, row)
+
# vim: set shiftwidth=4 softtabstop=4 expandtab: