diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-27 09:35:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-27 09:45:16 +0000 |
commit | 34592b9189bf47438a452479972968d33a3a4c1b (patch) | |
tree | e26221b4fae9680a5e8e8760087e101e66c389ae /include/svx | |
parent | 8c2924c0cc8706a7e89ba9e16d15153b2d05b647 (diff) |
convert link warning dialog to .ui
the amount of code required for the new vs old dialog is amusing
Change-Id: I7feee572eecd94fab3e8c2210755b70832cbd2f2
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/linkwarn.hxx | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/include/svx/linkwarn.hxx b/include/svx/linkwarn.hxx index ba0d841aaba1..beb715452238 100644 --- a/include/svx/linkwarn.hxx +++ b/include/svx/linkwarn.hxx @@ -21,24 +21,16 @@ #define INCLUDED_SVX_LINKWARN_HXX #include <vcl/button.hxx> -#include <vcl/fixed.hxx> -#include <sfx2/basedlgs.hxx> +#include <vcl/layout.hxx> #include <svx/svxdllapi.h> -class SVX_DLLPUBLIC SvxLinkWarningDialog : public SfxModalDialog +class SVX_DLLPUBLIC SvxLinkWarningDialog : public MessageDialog { private: - FixedImage m_aQueryImage; - FixedText m_aInfoText; - OKButton m_aLinkGraphicBtn; - CancelButton m_aEmbedGraphicBtn; - FixedLine m_aOptionLine; - CheckBox m_aWarningOnBox; - - void InitSize(); + CheckBox* m_pWarningOnBox; public: - SvxLinkWarningDialog( Window* pParent, const OUString& _rFileName ); + SvxLinkWarningDialog(Window* pParent, const OUString& _rFileName); virtual ~SvxLinkWarningDialog(); }; |