diff options
author | Mayank Suman <mayanksuman@live.com> | 2019-10-03 19:37:36 +0530 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2019-10-24 14:23:45 +0200 |
commit | d5dc19402e2b390aedd92ed94d0cd2444fd4478f (patch) | |
tree | f48f56a56d0a175161cc6a4ebf05f5881e4827bd /sc/qa/python | |
parent | c1f60d7d113e29dd36c6dcf0d1b58cfd8912228a (diff) |
tdf#97361: Removed getByIndex in calc and writer
Change-Id: I477e1129d7b8deb91920b3ffd715bc217e606d20
Reviewed-on: https://gerrit.libreoffice.org/80140
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sc/qa/python')
-rw-r--r-- | sc/qa/python/CalcRTL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/python/CalcRTL.py b/sc/qa/python/CalcRTL.py index 065cc596eabf..6c8e3e9b4a64 100644 --- a/sc/qa/python/CalcRTL.py +++ b/sc/qa/python/CalcRTL.py @@ -70,7 +70,7 @@ class CalcRTL(unittest.TestCase): return worked def getSpreadsheet(self): - return self.xSheetDoc.getSheets().getByIndex(0) + return self.xSheetDoc.getSheets()[0] if __name__ == '__main__': unittest.main() |