diff options
author | Hossein <hossein@libreoffice.org> | 2022-01-18 09:24:04 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-03-28 12:54:22 +0200 |
commit | ff0783ce6c74178ae44d6b5e402b0feecff918a9 (patch) | |
tree | 29af9e4d614a8e924de13a51ec03adafbe9fa1eb /sw/source/core/edit/edfcol.cxx | |
parent | ab9896bfda4d2ef16f3cbb373edced33f9021492 (diff) |
tdf#146523 Fix editable protected drop-down fields
Previously, drop-down fields from a protected section in a Writer
document could be edited by double-clicking on them. This patch adds
a check to see if the appropriate section is protected or not. This
check is done before allowing LibreOffice to open a popup window
titled "Drop-down Form Field" for editing the list of possible
values.
Also, with this patch, menu item "Form > Control Properties..." will
no longer do anything for the fields in a protected section.
Change-Id: I02a23818bd315abd61118f199c72ac28b7ed1ab4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128256
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/source/core/edit/edfcol.cxx')
0 files changed, 0 insertions, 0 deletions