summaryrefslogtreecommitdiff
path: root/sw/qa/python/var_fields.py
diff options
context:
space:
mode:
authorMayank Suman <mayanksuman@live.com>2019-10-03 19:37:36 +0530
committerMichael Stahl <michael.stahl@cib.de>2019-10-24 14:23:45 +0200
commitd5dc19402e2b390aedd92ed94d0cd2444fd4478f (patch)
treef48f56a56d0a175161cc6a4ebf05f5881e4827bd /sw/qa/python/var_fields.py
parentc1f60d7d113e29dd36c6dcf0d1b58cfd8912228a (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.py2
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")