summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/sidebar/stylesSidebar.py
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/uitest/sidebar/stylesSidebar.py')
-rw-r--r--sw/qa/uitest/sidebar/stylesSidebar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/sidebar/stylesSidebar.py b/sw/qa/uitest/sidebar/stylesSidebar.py
index db625be6f006..8096a06c0d20 100644
--- a/sw/qa/uitest/sidebar/stylesSidebar.py
+++ b/sw/qa/uitest/sidebar/stylesSidebar.py
@@ -62,7 +62,7 @@ class StylesSidebar(UITestCase):
xLeft = xWriterEdit.getChild('left')
#change to another style type
- xLeft.executeAction("CLICK", mkPropertyValues({"POS": str( i + 1 )}))
+ xLeft.executeAction("CLICK", mkPropertyValues({"POS": str( i )}))
xFlatView = xWriterEdit.getChild("flatview")