diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-20 18:53:39 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-21 09:13:44 +0200 |
commit | f42e71fefa1323263ab9c5b78c930738ddb81937 (patch) | |
tree | 67c8fb39d972ba599f2210da23b0b441a6457afc /include | |
parent | 56c0ca9bf467c65ad379d7d7b238b453ba76a69b (diff) |
Make Impress Insert Table dialog async
Change-Id: If8b48cfe983819387c066d3bd81a42dad8947489
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94591
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svxdlg.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index 0147437c52e5..059614dd6886 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -297,13 +297,14 @@ public: virtual long GetCount() const = 0; }; -class SvxAbstractNewTableDialog : public VclAbstractDialog +class SvxAbstractNewTableDialog { protected: - virtual ~SvxAbstractNewTableDialog() override = default; + virtual ~SvxAbstractNewTableDialog() = default; public: virtual sal_Int32 getRows() const = 0; virtual sal_Int32 getColumns() const = 0; + virtual std::shared_ptr<weld::DialogController> getDialogController() = 0; }; class SvxAbstractInsRowColDlg : public VclAbstractDialog @@ -454,7 +455,7 @@ public: virtual VclPtr<SvxAbstractSplitTableDialog> CreateSvxSplitTableDialog(weld::Window* pParent, bool bIsTableVertical, long nMaxVertical) = 0; - virtual VclPtr<SvxAbstractNewTableDialog> CreateSvxNewTableDialog(weld::Window* pParent) = 0; + virtual std::shared_ptr<SvxAbstractNewTableDialog> CreateSvxNewTableDialog(weld::Window* pParent) = 0; virtual VclPtr<SvxAbstractInsRowColDlg> CreateSvxInsRowColDlg(weld::Window* pParent, bool bCol, const OString& rHelpId) = 0; }; |