diff options
Diffstat (limited to 'fpicker/source/office/fpinteraction.cxx')
-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); } |