diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-19 13:13:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-19 14:52:50 +0200 |
commit | 447a013299d148df12ff17306fff77bb7f85eba1 (patch) | |
tree | d577aabfb9b650bc46fdcf2289aae2b1561f1e4e /fpicker | |
parent | 78098b8494be7123bc4a8b50faa13445e5afd8ce (diff) |
clang-tidy readability-simplify-boolean-expr in dbaccess..framework
Change-Id: I96e1bd4000f4ade6ccfac53c57653772b249df99
Reviewed-on: https://gerrit.libreoffice.org/36678
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fpinteraction.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx index 8da72d68d805..bff5dde565c6 100644 --- a/fpicker/source/office/fpinteraction.cxx +++ b/fpicker/source/office/fpinteraction.cxx @@ -130,14 +130,8 @@ namespace svt bool OFilePickerInteractionHandler::wasAccessDenied() const { InteractiveIOException aIoException; - if ( - (m_aException >>= aIoException ) && - (IOErrorCode_ACCESS_DENIED == aIoException.Code) - ) - { - return true; - } - return false; + return (m_aException >>= aIoException ) && + (IOErrorCode_ACCESS_DENIED == aIoException.Code); } |