diff options
Diffstat (limited to 'sc/source/ui/inc/warnbox.hxx')
-rw-r--r-- | sc/source/ui/inc/warnbox.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/inc/warnbox.hxx b/sc/source/ui/inc/warnbox.hxx index d4a17d69b94f..54bdd269ebeb 100644 --- a/sc/source/ui/inc/warnbox.hxx +++ b/sc/source/ui/inc/warnbox.hxx @@ -24,21 +24,19 @@ /** Warning box for "Replace cell contents?". With warning image and "Do not show again" checkbox. */ -class ScReplaceWarnBox +class ScReplaceWarnBox : public weld::MessageDialogController { - std::unique_ptr<weld::Builder> m_xBuilder; - std::unique_ptr<weld::MessageDialog> m_xDialog; std::unique_ptr<weld::CheckButton> m_xWarningOnBox; std::unique_ptr<weld::Container> m_xOrigParent; std::unique_ptr<weld::Container> m_xContentArea; public: ScReplaceWarnBox(weld::Window* pParent); - ~ScReplaceWarnBox(); + virtual ~ScReplaceWarnBox() override; /** Opens dialog if IsDialogEnabled() returns true. @descr If after executing the dialog the checkbox "Do not show again" is set, the method DisableDialog() will be called. */ - short run(); + short execute(); }; #endif |