diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-25 16:31:42 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-25 16:52:30 +0100 |
commit | c59a5b81e9521a92587e701bcad82bf643b00493 (patch) | |
tree | b08b97f67c53e6ec1b3cae06cd19ebac2ca15cea /tools/source | |
parent | 75299cd119dcb3121540471354d2b33af7f6684d (diff) |
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I8d98aa7dd77fbd79611b8a4aba77e8c378fd1cae
Reviewed-on: https://gerrit.libreoffice.org/63981
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 0b0cafc2c85f..decd1041a547 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -1163,7 +1163,7 @@ OUString INetMIME::decodeHeaderFieldBody(const OString& rBody) for (const sal_Char * p = pBegin; p != pEnd;) { OUString sEncodedText; - if (p != pEnd && *p == '=' /* && bStartEncodedWord */) + if (*p == '=' /* && bStartEncodedWord */) { const sal_Char * q = p + 1; bool bEncodedWord = q != pEnd && *q++ == '?'; |