summaryrefslogtreecommitdiff
path: root/uui/source/filechanged.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/filechanged.hxx')
-rw-r--r--uui/source/filechanged.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/uui/source/filechanged.hxx b/uui/source/filechanged.hxx
index f15e1ced340d..6e73d17407ab 100644
--- a/uui/source/filechanged.hxx
+++ b/uui/source/filechanged.hxx
@@ -19,13 +19,15 @@
#ifndef INCLUDED_UUI_SOURCE_FILECHANGED_HXX
#define INCLUDED_UUI_SOURCE_FILECHANGED_HXX
-#include <vcl/msgbox.hxx>
+#include <vcl/weld.hxx>
-class FileChangedQueryBox : public MessBox
+class FileChangedQueryBox
{
+private:
+ std::unique_ptr<weld::MessageDialog> m_xQueryBox;
public:
- FileChangedQueryBox( vcl::Window* pParent, const std::locale& pResLocale );
- virtual ~FileChangedQueryBox() override;
+ FileChangedQueryBox(weld::Window* pParent, const std::locale& pResLocale);
+ short run() { return m_xQueryBox->run(); }
};
#endif