diff options
-rw-r--r-- | uui/source/sslwarndlg.cxx | 3 | ||||
-rw-r--r-- | uui/source/sslwarndlg.hxx | 3 | ||||
-rw-r--r-- | uui/source/unknownauthdlg.cxx | 3 | ||||
-rw-r--r-- | uui/source/unknownauthdlg.hxx | 7 |
4 files changed, 4 insertions, 12 deletions
diff --git a/uui/source/sslwarndlg.cxx b/uui/source/sslwarndlg.cxx index 4cc92dc9d64f..556127a4385f 100644 --- a/uui/source/sslwarndlg.cxx +++ b/uui/source/sslwarndlg.cxx @@ -45,8 +45,7 @@ SSLWarnDialog::SSLWarnDialog(Window* pParent, , m_xContext(xContext) , m_rXCert(rXCert) { - m_pParent = pParent; -}; +} void SSLWarnDialog::response(short nResponseId) { diff --git a/uui/source/sslwarndlg.hxx b/uui/source/sslwarndlg.hxx index c843ed6a3654..2ce007dad3de 100644 --- a/uui/source/sslwarndlg.hxx +++ b/uui/source/sslwarndlg.hxx @@ -34,7 +34,6 @@ class SSLWarnDialog : public MessageDialog private: const css::uno::Reference< css::uno::XComponentContext >& m_xContext; const css::uno::Reference< css::security::XCertificate >& m_rXCert; - Window* m_pParent; void ViewCert(); @@ -45,8 +44,6 @@ public: css::uno::Reference< css::security::XCertificate > getCert() { return m_rXCert; } - Window* getParent() { return m_pParent; } - virtual void response(short nResponseId); void setDescription1Text(const OUString &aText) { set_primary_text(aText); } diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx index 9967261af6ce..98590b469ce4 100644 --- a/uui/source/unknownauthdlg.cxx +++ b/uui/source/unknownauthdlg.cxx @@ -83,9 +83,8 @@ UnknownAuthDialog::UnknownAuthDialog FreeResource(); m_aWarnImage.SetImage( WarningBox::GetStandardImage() ); - m_pParent = pParent; m_aView_Certificate.SetClickHdl( LINK( this, UnknownAuthDialog, ViewCertHdl_Impl ) ); m_aCommandButtonOK.SetClickHdl( LINK( this, UnknownAuthDialog, OKHdl_Impl ) ); -}; +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/uui/source/unknownauthdlg.hxx b/uui/source/unknownauthdlg.hxx index 51c371bbe801..2c61a0d12ab6 100644 --- a/uui/source/unknownauthdlg.hxx +++ b/uui/source/unknownauthdlg.hxx @@ -44,7 +44,6 @@ private: const css::uno::Reference< css::uno::XComponentContext >& m_xContext; const css::uno::Reference< css::security::XCertificate >& m_rXCert; - Window* m_pParent; DECL_LINK(OKHdl_Impl, void *); DECL_LINK(ViewCertHdl_Impl, void *); @@ -55,11 +54,9 @@ private: const css::uno::Reference< css::uno::XComponentContext >& xContext, ResMgr * pResMgr ); - css::uno::Reference< css::security::XCertificate > getCert() { return m_rXCert; }; + css::uno::Reference< css::security::XCertificate > getCert() { return m_rXCert; } - Window* getParent() { return m_pParent; }; - - void setDescriptionText( const OUString &aText ) { m_aLabel1.SetText( aText ); }; + void setDescriptionText( const OUString &aText ) { m_aLabel1.SetText( aText ); } }; |