summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docbm.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-01-12 15:49:03 +0100
committerMiklos Vajna <vmiklos@collabora.com>2023-01-13 07:13:24 +0000
commit60be9811555b935d6860157ebf26fac6b48327ac (patch)
tree2a11b570bc59257f18e492e9bf73e6cd96cc9c1b /sw/source/core/doc/docbm.cxx
parent81f690ec0cb2a6dc0d6ca0f6de3adcc07eb7bc12 (diff)
sw, FN_DELETE_TEXT_FORMFIELDS: allow deleting all fieldmarks
As suggested at <https://gerrit.libreoffice.org/c/core/+/145347/1#message-d2e88d8a1923f0fa5d2869b8d92e1d25d15ac645>, in case the provided prefix is empty, then don't try to look up ODF_CODE_PARAM and don't compare it with the provided prefix. This allows deleting all fieldmarks in the document, which is probably intended with an empty prefix. Change-Id: Ic3015925165a9abc13a30889c36c667b10996c4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145409 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/core/doc/docbm.cxx')
0 files changed, 0 insertions, 0 deletions