summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-01-31 10:11:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-01-31 12:06:36 +0100
commit9884fa5bf4ce5413179d6a054a2d533fa829c13e (patch)
tree62216b0582583e65b1329783e98aa1d80c537c7c /sw/inc
parent8291b91f84930a8034093c94bf68b94babf9c391 (diff)
make drop-down-form-field dialog async
Change-Id: Ic3c6111878271f31a07fab835501cd92cbca7950 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162791 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swabstdlg.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index c8974620060e..4877095d761c 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -444,6 +444,13 @@ public:
virtual void Apply() = 0;
};
+class AbstractDropDownFormFieldDialog : public VclAbstractDialog
+{
+protected:
+ virtual ~AbstractDropDownFormFieldDialog() override = default;
+public:
+ virtual void Apply() = 0;
+};
class SwAbstractDialogFactory
{
public:
@@ -482,7 +489,7 @@ public:
virtual VclPtr<AbstractDropDownFieldDialog> CreateDropDownFieldDialog(weld::Widget* pParent, SwWrtShell &rSh,
SwField* pField, bool bPrevButton, bool bNextButton) = 0;
- virtual VclPtr<VclAbstractDialog> CreateDropDownFormFieldDialog(weld::Widget* pParent, sw::mark::IFieldmark* pDropDownField) = 0;
+ virtual VclPtr<AbstractDropDownFormFieldDialog> CreateDropDownFormFieldDialog(weld::Widget* pParent, sw::mark::IFieldmark* pDropDownField) = 0;
virtual VclPtr<VclAbstractDialog> CreateDateFormFieldDialog(weld::Widget* pParent, sw::mark::IDateFieldmark* pDateField, SwDoc& rDoc) = 0;