Kaydet (Commit) 254dcd96 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove unused m_pParent members and trailings semicolons

Change-Id: I9c577b074ac3fc5382cea92394adeedbe0364de0
üst a5650e38
......@@ -45,8 +45,7 @@ SSLWarnDialog::SSLWarnDialog(Window* pParent,
, m_xContext(xContext)
, m_rXCert(rXCert)
{
m_pParent = pParent;
};
}
void SSLWarnDialog::response(short nResponseId)
{
......
......@@ -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); }
......
......@@ -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: */
......@@ -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 ); }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment