summaryrefslogtreecommitdiff
path: root/uui/source/lockcorrupt.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-26 16:53:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-27 11:22:49 +0100
commit082e69fefb7439fd4f3d543f0c402039e94c1e9c (patch)
tree8348cacdc54a15dae722b93fc198995756924fc0 /uui/source/lockcorrupt.hxx
parentf41a08183504a59d6ffc7a00ed7f24e6b19995ab (diff)
convert various MessBox to weld::MessageDialog
Change-Id: I4d2d0393c753114aeb9bb7e646dfdc810f6caa38 Reviewed-on: https://gerrit.libreoffice.org/50398 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 '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