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 /sw/qa/python/var_fields.py | |
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 'sw/qa/python/var_fields.py')
-rw-r--r-- | sw/qa/python/var_fields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/python/var_fields.py b/sw/qa/python/var_fields.py index e793aaa5f7ec..0c88b5357732 100644 --- a/sw/qa/python/var_fields.py +++ b/sw/qa/python/var_fields.py @@ -126,7 +126,7 @@ class TestVarFields(unittest.TestCase): xDoc.storeToURL(url, tuple(list(range(0)))) # 19. retrieve the section - xSection = xDoc.getTextSections().getByIndex(0) + xSection = xDoc.getTextSections()[0] # 20. retrieve the condition property of that section read_content = xSection.getPropertyValue("Condition") |