summaryrefslogtreecommitdiff
path: root/sw/inc/swabstdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-01-30 12:24:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-01-30 17:08:22 +0100
commita08110be32a6958f27ce9ddb1e2cb2227265dfe1 (patch)
tree539c5abe4378858ce504a2c74a10252802d9111f /sw/inc/swabstdlg.hxx
parent93c4bfc96acf7f387120ff05883068d358a608c1 (diff)
convert table width dialog to async
Change-Id: Id8fe4f8f0e3138b714aeb938f887483dab1214a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162739 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r--sw/inc/swabstdlg.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 690b20c6ea3b..65fbf918efca 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -418,6 +418,15 @@ public:
};
+class AbstractSwTableWidthDlg : public VclAbstractDialog
+{
+protected:
+ virtual ~AbstractSwTableWidthDlg() override = default;
+public:
+ virtual void Apply() = 0;
+};
+
+
class SwAbstractDialogFactory
{
public:
@@ -488,7 +497,7 @@ public:
virtual VclPtr<SfxAbstractDialog> CreateSwBorderDlg(weld::Window* pParent, SfxItemSet& rSet, SwBorderModes nType) = 0;
virtual VclPtr<SfxAbstractDialog> CreateSwWrapDlg(weld::Window* pParent, const SfxItemSet& rSet, SwWrtShell* pSh) = 0;
- virtual VclPtr<VclAbstractDialog> CreateSwTableWidthDlg(weld::Window *pParent, SwTableFUNC &rFnc) = 0;
+ virtual VclPtr<AbstractSwTableWidthDlg> CreateSwTableWidthDlg(weld::Window *pParent, SwTableFUNC &rFnc) = 0;
virtual VclPtr<SfxAbstractTabDialog> CreateSwTableTabDlg(weld::Window* pParent,
const SfxItemSet* pItemSet, SwWrtShell* pSh) = 0;