diff options
author | Mayank Suman <mayanksuman@live.com> | 2019-10-03 16:28:07 +0530 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-12-05 16:51:36 +0100 |
commit | 574cfcacc5489f8995d697126dd463e3df25a4d6 (patch) | |
tree | 8ddaf947b2625d0f40fec24576f1ce29ad98cca4 /pyuno/demo/swritercomp.py | |
parent | d5acf921efbd3170e487d4656e38c23c3f835094 (diff) |
tdf#97361: Removed getByTindex in Pyuno pytests
Change-Id: Idf2e8567a154b25b1625b9cd1651bd77cc684859
Reviewed-on: https://gerrit.libreoffice.org/80116
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'pyuno/demo/swritercomp.py')
-rw-r--r-- | pyuno/demo/swritercomp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/demo/swritercomp.py b/pyuno/demo/swritercomp.py index 3bdd252e4e44..7c200cc7bea5 100644 --- a/pyuno/demo/swritercomp.py +++ b/pyuno/demo/swritercomp.py @@ -68,7 +68,7 @@ class SWriterComp(XMain,unohelper.Base): table.setPropertyValue( "BackTransparent", uno.Bool(0) ) table.setPropertyValue( "BackColor", 13421823 ) - row = rows.getByIndex(0) + row = rows[0] row.setPropertyValue( "BackTransparent", uno.Bool(0) ) row.setPropertyValue( "BackColor", 6710932 ) |