diff options
Diffstat (limited to 'sfx2/source/inc/alienwarn.hxx')
-rw-r--r-- | sfx2/source/inc/alienwarn.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sfx2/source/inc/alienwarn.hxx b/sfx2/source/inc/alienwarn.hxx index 05f5a3835aee..5b93430882d8 100644 --- a/sfx2/source/inc/alienwarn.hxx +++ b/sfx2/source/inc/alienwarn.hxx @@ -21,11 +21,9 @@ #include <vcl/weld.hxx> -class SfxAlienWarningDialog +class SfxAlienWarningDialog : public weld::MessageDialogController { private: - std::unique_ptr<weld::Builder> m_xBuilder; - std::unique_ptr<weld::MessageDialog> m_xDialog; std::unique_ptr<weld::Button> m_xKeepCurrentBtn; std::unique_ptr<weld::Button> m_xUseDefaultFormatBtn; std::unique_ptr<weld::CheckButton> m_xWarningOnBox; @@ -36,8 +34,7 @@ private: public: SfxAlienWarningDialog(weld::Window* pParent, const OUString& _rFormatName, const OUString& _rDefaultExtension, bool rDefaultIsAlien); - short run() { return m_xDialog->run(); } - ~SfxAlienWarningDialog(); + virtual ~SfxAlienWarningDialog() override; }; #endif // INCLUDED_SFX2_SOURCE_INC_ALIENWARN_HXX |