summaryrefslogtreecommitdiff
path: root/uui/source/unknownauthdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/unknownauthdlg.hxx')
-rw-r--r--uui/source/unknownauthdlg.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/uui/source/unknownauthdlg.hxx b/uui/source/unknownauthdlg.hxx
index 0b8d1e64ab2b..2eafe5e3b5f0 100644
--- a/uui/source/unknownauthdlg.hxx
+++ b/uui/source/unknownauthdlg.hxx
@@ -31,10 +31,10 @@
class UnknownAuthDialog : public MessageDialog
{
private:
- PushButton* m_pCommandButtonOK;
- PushButton* m_pView_Certificate;
- RadioButton* m_pOptionButtonAccept;
- RadioButton* m_pOptionButtonDontAccept;
+ VclPtr<PushButton> m_pCommandButtonOK;
+ VclPtr<PushButton> m_pView_Certificate;
+ VclPtr<RadioButton> m_pOptionButtonAccept;
+ VclPtr<RadioButton> m_pOptionButtonDontAccept;
const css::uno::Reference< css::uno::XComponentContext >& m_xContext;
const css::uno::Reference< css::security::XCertificate >& m_rXCert;
@@ -46,6 +46,8 @@ public:
UnknownAuthDialog(vcl::Window* pParent,
const css::uno::Reference< css::security::XCertificate >& rXCert,
const css::uno::Reference< css::uno::XComponentContext >& xContext);
+ virtual ~UnknownAuthDialog();
+ virtual void dispose() SAL_OVERRIDE;
css::uno::Reference< css::security::XCertificate > getCert()
{