From 34592b9189bf47438a452479972968d33a3a4c1b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 27 Nov 2013 09:35:33 +0000 Subject: convert link warning dialog to .ui the amount of code required for the new vs old dialog is amusing Change-Id: I7feee572eecd94fab3e8c2210755b70832cbd2f2 --- include/svx/linkwarn.hxx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'include/svx') 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 -#include -#include +#include #include -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(); }; -- cgit