summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/alienwarn.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-18 11:34:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-18 14:08:08 +0000
commite0840df74c9f33cae4e3cea5f5e5de39d51d17fd (patch)
treedaba654ec69a941e2c1926922a9056e04b14338d /sfx2/source/inc/alienwarn.hxx
parent6019cd9bb5606e0d3c2dfd3acbf3a24eee85ea11 (diff)
convert alien dialog to .ui
Change-Id: I5b4a17eb83d61f7f95d7b71024ba035c957adf2c
Diffstat (limited to 'sfx2/source/inc/alienwarn.hxx')
-rw-r--r--sfx2/source/inc/alienwarn.hxx19
1 files changed, 5 insertions, 14 deletions
diff --git a/sfx2/source/inc/alienwarn.hxx b/sfx2/source/inc/alienwarn.hxx
index 722115879ca5..4ad97689d959 100644
--- a/sfx2/source/inc/alienwarn.hxx
+++ b/sfx2/source/inc/alienwarn.hxx
@@ -20,25 +20,16 @@
#define INCLUDED_SFX2_SOURCE_INC_ALIENWARN_HXX
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
+#include <vcl/layout.hxx>
-#include <sfx2/basedlgs.hxx>
-
-class SfxAlienWarningDialog : public SfxModalDialog
+class SfxAlienWarningDialog : public MessageDialog
{
private:
- OKButton m_aKeepCurrentBtn;
- CancelButton m_aSaveODFBtn;
- HelpButton m_aMoreInfoBtn;
- FixedLine m_aOptionLine;
- CheckBox m_aWarningOnBox;
- FixedImage m_aQueryImage;
- FixedText m_aInfoText;
-
- void InitSize();
+ PushButton* m_pKeepCurrentBtn;
+ CheckBox* m_pWarningOnBox;
public:
- SfxAlienWarningDialog( Window* pParent, const OUString& _rFormatName );
+ SfxAlienWarningDialog(Window* pParent, const OUString& _rFormatName);
virtual ~SfxAlienWarningDialog();
};