summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-22 09:00:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-22 11:07:03 +0000
commit6c415f735bbf9201a18288e2ea16eacad4d635cd (patch)
tree8e4f15bb62d7082537e04b85e0f57268ec0cd428 /uui
parent29c38bab7a69127c69f17c9a62b35faf68deb843 (diff)
callcatcher: update unused code
Change-Id: I62e49fbf27364bd244099a9bb247452d5a691119
Diffstat (limited to 'uui')
-rw-r--r--uui/source/authfallbackdlg.cxx24
-rw-r--r--uui/source/authfallbackdlg.hxx14
2 files changed, 8 insertions, 30 deletions
diff --git a/uui/source/authfallbackdlg.cxx b/uui/source/authfallbackdlg.cxx
index 5f1548d2a17a..eac0d301b300 100644
--- a/uui/source/authfallbackdlg.cxx
+++ b/uui/source/authfallbackdlg.cxx
@@ -14,23 +14,9 @@
using namespace boost;
-AuthFallbackDlg::AuthFallbackDlg( Window* pParent ) :
- ModalDialog( pParent, "AuthFallbackDlg", "uui/ui/authfallback.ui" )
-{
- get( m_pTVInstructions, "instructions" );
- get( m_pEDUrl, "url" );
- get( m_pEDCode, "code" );
- get( m_pBTOk, "ok" );
- get( m_pBTCancel, "cancel" );
-
- m_pBTOk->SetClickHdl( LINK( this, AuthFallbackDlg, OKHdl) );
- m_pBTOk->Enable( false );
-}
-
-AuthFallbackDlg::AuthFallbackDlg( Window* pParent,
- const OUString& instructions,
- const OUString& url ) :
- ModalDialog( pParent, "AuthFallbackDlg", "uui/ui/authfallback.ui" )
+AuthFallbackDlg::AuthFallbackDlg(Window* pParent, const OUString& instructions,
+ const OUString& url)
+ : ModalDialog(pParent, "AuthFallbackDlg", "uui/ui/authfallback.ui")
{
get( m_pTVInstructions, "instructions" );
get( m_pEDUrl, "url" );
@@ -46,10 +32,6 @@ AuthFallbackDlg::AuthFallbackDlg( Window* pParent,
m_pEDUrl->SetText( url );
}
-AuthFallbackDlg::~AuthFallbackDlg( )
-{
-}
-
IMPL_LINK ( AuthFallbackDlg, OKHdl, Button *, EMPTYARG )
{
EndDialog( RET_OK );
diff --git a/uui/source/authfallbackdlg.hxx b/uui/source/authfallbackdlg.hxx
index d068f48fd964..d73eebf70f4f 100644
--- a/uui/source/authfallbackdlg.hxx
+++ b/uui/source/authfallbackdlg.hxx
@@ -18,22 +18,18 @@
class AuthFallbackDlg : public ModalDialog
{
-private :
-
+private:
VclMultiLineEdit* m_pTVInstructions;
Edit* m_pEDUrl;
Edit* m_pEDCode;
PushButton* m_pBTOk;
PushButton* m_pBTCancel;
-public :
-
- AuthFallbackDlg( Window* pParent);
- AuthFallbackDlg(Window* pParent, const OUString& instructions,
- const OUString& url );
- virtual ~AuthFallbackDlg();
+public:
+ AuthFallbackDlg(Window* pParent, const OUString& instructions,
+ const OUString& url);
- OUString GetCode() { return m_pEDCode->GetText(); }
+ OUString GetCode() const { return m_pEDCode->GetText(); }
private: