diff options
author | Justin Luth <jluth@mail.com> | 2023-11-06 17:59:09 -0500 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-11-15 20:05:23 +0100 |
commit | 33ec38c5333e0c71aa995292fbddc1a237979e32 (patch) | |
tree | fea1492f094d2a0f47ce7664d7e75fb83ef2981e /basctl | |
parent | ac0b3ff84522a388e0d44b09bf681af13a8288b2 (diff) |
tdf#158031 editeng SID_HYPERLINK_GETLINK: use GetFieldAtSelection
This is just a clean-up commit to eliminate the pointless
check of a field under the mouse pointer.
It is up to the caller to make sure that the field is selected
before calling the GETLINK function.
GETLINK is primarily used to get the link from a field
for the insert/edit hyperlink dialog.
This function SHOULD NOT check before the cursor for the link,
or else it will mess up the insert hyperlink if the user
is inserting one field directly after another one.
So, my changes here are just following what already existed in sw.
Change-Id: Iaa7699d2e5f2fdf26996aede8b35bd4e18b21b98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159021
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Diffstat (limited to 'basctl')
0 files changed, 0 insertions, 0 deletions