tdf#144907: sw ui: allow closing of "Fields" dialog
commitda5580369bfd15857fb21a1f610e393d07abb805
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Mon, 4 Oct 2021 15:40:31 +0000 (4 17:40 +0200)
committerMichael Stahl <michael.stahl@allotropia.de>
Wed, 6 Oct 2021 10:08:08 +0000 (6 12:08 +0200)
treea177ac9e7fa4a248ed93c312dcb79e7e4579e559
parent727bb5ed6bb53ef00b61ecdebb0b9cca50f167e2
tdf#144907: sw ui: allow closing of "Fields" dialog

In some cases (described in task) dialog is not closed.
This is happens due to not delivered request to
SwTextShell::ExecField(). So we could just close dialog
explicitly, if Execute() action did fail.

Change-Id: I1c712295a21037bc8bb28e2a97e750299b41250c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123059
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
sw/source/ui/fldui/fldtdlg.cxx