diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-08 09:49:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-09 13:47:52 +0100 |
commit | 48bca65f1cf381cba7cb7a4c3916155a1bca0955 (patch) | |
tree | df461652450b3e095e37a3290cbe54ab20cedfae /sfx2/inc | |
parent | c468b6910bf77e332647725da70e3cb248a9de0e (diff) |
inherit welded dialogs from a common ancestor
Change-Id: Ifa6c871a134cf89bfba71b1049a115cf7c953c42
Reviewed-on: https://gerrit.libreoffice.org/50936
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/saveastemplatedlg.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/inc/saveastemplatedlg.hxx b/sfx2/inc/saveastemplatedlg.hxx index 8e7af6d3a448..cbd695be24cb 100644 --- a/sfx2/inc/saveastemplatedlg.hxx +++ b/sfx2/inc/saveastemplatedlg.hxx @@ -15,11 +15,9 @@ #include <vcl/weld.hxx> // class SfxSaveAsTemplateDialog ------------------------------------------------------------------- -class SfxSaveAsTemplateDialog +class SfxSaveAsTemplateDialog : public weld::GenericDialogController { private: - std::unique_ptr<weld::Builder> m_xBuilder; - std::unique_ptr<weld::Dialog> m_xDialog; std::unique_ptr<weld::TreeView> m_xLBCategory; std::unique_ptr<weld::CheckButton> m_xCBXDefault; std::unique_ptr<weld::Entry> m_xTemplateNameEdit; @@ -51,7 +49,6 @@ public: public: SfxSaveAsTemplateDialog(weld::Window* pParent, const css::uno::Reference<css::frame::XModel>& rModel); - short run() { return m_xDialog->run(); } }; #endif // INCLUDED_SFX2_INC_SAVEASTEMPLATEDLG_HXX |