summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-08-01 11:19:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-08-01 13:22:13 +0200
commitf86214c2a6ce3d42b09360e490e15404db6c6a21 (patch)
treeaae80fcbb0d25457dd426e7d05f2b3d5ee68f96c /sw
parentbc16f329b7aadbc429be10f0b0b1e90b6e9545ae (diff)
Use a more conventional START/END_POS range
For the content of the selection it should not make a difference if that range is "backward" or "forward", but the latter looks cleaner. Change-Id: Ibc27ac257c9338f9b17ace10fbec938b1db394eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99932 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/writer_tests3/hyperlinkdialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
index 5b414242babc..a8a42a02a3d1 100644
--- a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
+++ b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
@@ -75,7 +75,7 @@ class HyperlinkDialog(UITestCase):
# Check that the link is added
xMainWindow = self.xUITest.getTopFocusWindow()
xedit = xMainWindow.getChild("writer_edit")
- xedit.executeAction("SELECT", mkPropertyValues({"END_POS": "0", "START_POS": "4"}))
+ xedit.executeAction("SELECT", mkPropertyValues({"START_POS": "0", "END_POS": "4"}))
self.assertEqual(get_state_as_dict(xedit)["SelectedText"], "link")
self.ui_test.close_doc()