diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-28 00:28:41 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-28 08:34:46 +0200 |
commit | 38e7f933c86b66010f65d821155eccd9e8a4135e (patch) | |
tree | 9b71f3b1927f66394af0ce1560388a6cb2daf96a /svtools/source | |
parent | 3159ba99d16bf875c28b77c1219a794d9e9a6186 (diff) |
tdf#120703 PVS: V581 ifs with identical conditions
V581 The conditional expressions of the 'if' statements situated
alongside each other are identical.
Change-Id: I11fa13677c7980e6ac17fc4358406472ee784e41
Reviewed-on: https://gerrit.libreoffice.org/71446
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/svrtf/svparser.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index a9a0f548fa83..f75314e6a42a 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -266,10 +266,7 @@ sal_uInt32 SvParser<T>::GetNextChar() cUC = (sal_Unicode(c1) << 8) | c2; else cUC = (sal_Unicode(c2) << 8) | c1; - } - if( !bErr ) - { c = cUC; } } |