summaryrefslogtreecommitdiff
path: root/pyuno/demo/swriter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/demo/swriter.py')
-rw-r--r--pyuno/demo/swriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/demo/swriter.py b/pyuno/demo/swriter.py
index 4f3916136c30..90a53e826545 100644
--- a/pyuno/demo/swriter.py
+++ b/pyuno/demo/swriter.py
@@ -67,7 +67,7 @@ rows = table.Rows
table.setPropertyValue( "BackTransparent", False )
table.setPropertyValue( "BackColor", 13421823 )
-row = rows.getByIndex(0)
+row = rows[0]
row.setPropertyValue( "BackTransparent", False )
row.setPropertyValue( "BackColor", 6710932 )