diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 10:11:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 12:06:36 +0100 |
commit | 9884fa5bf4ce5413179d6a054a2d533fa829c13e (patch) | |
tree | 62216b0582583e65b1329783e98aa1d80c537c7c /sw/inc | |
parent | 8291b91f84930a8034093c94bf68b94babf9c391 (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.hxx | 9 |
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; |