From e0c9956a76514279a6df27f9752763e1ea20abbd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Feb 2019 15:50:06 +0200 Subject: loplugin:unusedfields in uui Change-Id: I4b5f359dd7af170bcdee5343078e4e36eeebdc85 Reviewed-on: https://gerrit.libreoffice.org/68158 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uui/source/iahndl-authentication.cxx | 1 - uui/source/loginerr.hxx | 3 --- 2 files changed, 4 deletions(-) diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index 6103f876e209..114cf8b87563 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -236,7 +236,6 @@ handleAuthenticationRequest_( } LoginErrorInfo aInfo; - aInfo.SetTitle(rRequest.ServerName); aInfo.SetServer(rRequest.ServerName); if (rRequest.HasAccount) aInfo.SetAccount(rRequest.Account); diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx index bdfb7f06c19a..76973684c855 100644 --- a/uui/source/loginerr.hxx +++ b/uui/source/loginerr.hxx @@ -34,7 +34,6 @@ class LoginErrorInfo { private: - OUString m_aTitle; OUString m_aServer; OUString m_aAccount; OUString m_aUserName; @@ -72,8 +71,6 @@ public: sal_uInt8 GetFlags() const { return m_nFlags; } DialogMask GetResult() const { return m_nRet; } - void SetTitle( const OUString& aTitle ) - { m_aTitle = aTitle; } void SetServer( const OUString& aServer ) { m_aServer = aServer; } void SetAccount( const OUString& aAccount ) -- cgit