diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 14:58:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-15 09:31:13 +0000 |
commit | 04b472af1e1c9a3de4b8380305d2b4e8ce3a43df (patch) | |
tree | c25d702d4d7229894347b22e3eb510f5c192b657 /uui | |
parent | 22b094f5d8e1e82375b135abd3a6f99a9a555244 (diff) |
loplugin:unusedmethods accessibility,fpicker,uui
Change-Id: I106a0be06c4b9fe1313bbd8d4c62472c4b0a4b4f
Reviewed-on: https://gerrit.libreoffice.org/17045
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/logindlg.hxx | 8 | ||||
-rw-r--r-- | uui/source/loginerr.hxx | 5 |
2 files changed, 2 insertions, 11 deletions
diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx index cc32d5e94ae9..96304a0359ed 100644 --- a/uui/source/logindlg.hxx +++ b/uui/source/logindlg.hxx @@ -70,23 +70,19 @@ public: LoginDialog(vcl::Window* pParent, sal_uInt16 nFlags, const OUString& rServer, const OUString &rRealm); virtual ~LoginDialog(); - virtual void dispose() SAL_OVERRIDE; + virtual void dispose() SAL_OVERRIDE; - OUString GetPath() const { return m_pPathED->GetText(); } - void SetPath( const OUString& rNewPath ) { m_pPathED->SetText( rNewPath ); } OUString GetName() const { return m_pNameED->GetText(); } void SetName( const OUString& rNewName ) { m_pNameED->SetText( rNewName ); } OUString GetPassword() const { return m_pPasswordED->GetText(); } void SetPassword( const OUString& rNew ) { m_pPasswordED->SetText( rNew ); } OUString GetAccount() const { return m_pAccountED->GetText(); } - void SetAccount( const OUString& rNew ) { m_pAccountED->SetText( rNew ); } bool IsSavePassword() const { return m_pSavePasswdBtn->IsChecked(); } void SetSavePassword( bool bSave ) { m_pSavePasswdBtn->Check( bSave ); } void SetSavePasswordText( const OUString& rTxt ) { m_pSavePasswdBtn->SetText( rTxt ); } - bool IsUseSystemCredentials() const { return m_pUseSysCredsCB->IsChecked(); } + bool IsUseSystemCredentials() const { return m_pUseSysCredsCB->IsChecked(); } void SetUseSystemCredentials( bool bUse ); void SetErrorText( const OUString& rTxt ) { m_pErrorInfo->SetText( rTxt ); } - void SetLoginRequestText( const OUString& rTxt ) { m_pRequestInfo->SetText( rTxt ); } void ClearPassword(); void ClearAccount(); }; diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx index 81c3769a2c1c..793b965ac5e7 100644 --- a/uui/source/loginerr.hxx +++ b/uui/source/loginerr.hxx @@ -55,7 +55,6 @@ public: { } - const OUString& GetTitle() const { return m_aTitle; } const OUString& GetServer() const { return m_aServer; } const OUString& GetAccount() const { return m_aAccount; } const OUString& GetUserName() const { return m_aUserName; } @@ -90,12 +89,8 @@ public: { m_aPasswordToModify = aPassword; } void SetRecommendToOpenReadonly( bool bVal ) { m_bRecommendToOpenReadonly = bVal; } - void SetPath( const OUString& aPath ) - { m_aPath = aPath; } void SetErrorText( const OUString& aErrorText ) { m_aErrorText = aErrorText; } - void SetFlags( sal_uInt8 nFlags ) - { m_nFlags = nFlags; } inline void SetCanRememberPassword( bool bSet ); inline void SetIsRememberPassword( bool bSet ); |