diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-04-14 18:33:21 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-04-19 12:57:57 +0200 |
commit | 42c6dfa1662603793cf6e2c5be99a8a8ed0acaa1 (patch) | |
tree | 18e5a76b76558e7e595db032985577752235db2f /sw/README.md | |
parent | b12727e15a82216f709ccb6e37a9029d60ad4831 (diff) |
sw: check if cursor position is valid before inserting file
SwXTextCursor::insertDocumentFromURL() must not insert the file inside
of an input field.
If the CH_TXT_ATR_INPUTFIELD* become separated to different text nodes,
things are going to break.
Change-Id: Ia170e63f6c6d8a8fdd18f0b91e2b333e660ed924
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133028
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'sw/README.md')
0 files changed, 0 insertions, 0 deletions