diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-21 21:14:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-21 21:14:29 +0000 |
commit | 254dcd96ea4728450a93582d7a9c420eaa208d95 (patch) | |
tree | 95a67c745eb7f8f24ca674b68c72bf4ffc14ff80 /uui | |
parent | a5650e388de543501788b0745396ee1d25164c2a (diff) |
remove unused m_pParent members and trailings semicolons
Change-Id: I9c577b074ac3fc5382cea92394adeedbe0364de0
Diffstat (limited to 'uui')
-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 ); } }; |