summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/colwd.hxx4
-rw-r--r--sw/inc/swabstdlg.hxx11
2 files changed, 11 insertions, 4 deletions
diff --git a/sw/inc/colwd.hxx b/sw/inc/colwd.hxx
index 8ead4ccf44d4..ab511ee118c0 100644
--- a/sw/inc/colwd.hxx
+++ b/sw/inc/colwd.hxx
@@ -33,11 +33,9 @@ private:
DECL_LINK(LoseFocusHdl, weld::SpinButton&, void);
- void Apply();
-
public:
SwTableWidthDlg(weld::Window* pParent, SwTableFUNC& rFnc);
- virtual short run() override;
+ void Apply();
};
#endif
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;