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