summaryrefslogtreecommitdiff
path: root/sc/qa/uitest/calc_tests4/exportToPDF.py
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/uitest/calc_tests4/exportToPDF.py')
-rw-r--r--sc/qa/uitest/calc_tests4/exportToPDF.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/uitest/calc_tests4/exportToPDF.py b/sc/qa/uitest/calc_tests4/exportToPDF.py
index 3cf589bbb9c3..565a5337e9ee 100644
--- a/sc/qa/uitest/calc_tests4/exportToPDF.py
+++ b/sc/qa/uitest/calc_tests4/exportToPDF.py
@@ -71,8 +71,8 @@ class exportToPDF(UITestCase):
with self.ui_test.load_file(systemPathToFileUrl(xFilePath)) as document:
- self.assertEqual("Sheet1", document.DrawPages[0].getByIndex(0).String)
- self.assertEqual("Page 1", document.DrawPages[0].getByIndex(1).String)
- self.assertEqual("Hello World", document.DrawPages[0].getByIndex(2).String)
+ self.assertEqual("Sheet1", document.DrawPages[0][0].String)
+ self.assertEqual("Page 1", document.DrawPages[0][1].String)
+ self.assertEqual("Hello World", document.DrawPages[0][2].String)
# vim: set shiftwidth=4 softtabstop=4 expandtab: