diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 13:08:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-27 10:44:25 +0100 |
commit | 2e5508a17660401e1b4b489dbc9f70b978745b75 (patch) | |
tree | 881afcf9d8b9f0a653df0c94a8a2deefdf85670e /dbaccess | |
parent | 470682b3abf0622f5e9663d62d8641f63ceb6f30 (diff) |
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3
Reviewed-on: https://gerrit.libreoffice.org/45218
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/datasource.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index 0bad4dd8b594..2e5d452b616c 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -875,7 +875,7 @@ void ODatabaseSource::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const case PROPERTY_ID_USER: rValue >>= m_pImpl->m_sUser; // if the user name has changed, reset the password - (m_pImpl->m_aPassword).clear(); + m_pImpl->m_aPassword.clear(); break; case PROPERTY_ID_PASSWORD: rValue >>= m_pImpl->m_aPassword; @@ -1086,7 +1086,7 @@ Reference< XConnection > SAL_CALL ODatabaseSource::connectWithCompletion( const m_pImpl->m_aPassword = pAuthenticate->getPassword(); bNewPasswordGiven = true; } - (m_pImpl->m_sFailedPassword).clear(); + m_pImpl->m_sFailedPassword.clear(); } try @@ -1101,7 +1101,7 @@ Reference< XConnection > SAL_CALL ODatabaseSource::connectWithCompletion( const // assume that we had an authentication problem. Without this we may, after an unsuccessful connect, while // the user gave us a password an the order to remember it, never allow an password input again (at least // not without restarting the session) - (m_pImpl->m_aPassword).clear(); + m_pImpl->m_aPassword.clear(); } throw; } |