diff options
author | Bogdan Buzea <buzea.bogdan@libreoffice.org> | 2024-10-19 19:04:04 +0200 |
---|---|---|
committer | David Gilbert <freedesktop@treblig.org> | 2024-11-20 14:00:33 +0100 |
commit | 1a949fceae16913b29efae713b5890398c69ffac (patch) | |
tree | 09dec50026c892739c029517b1e5eef98521b248 /starmath/source | |
parent | db7152d2cabcfb0279cf3bd6947c321a6cb9448d (diff) |
tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 1209, 1218
Change-Id: I9f2fe51a0b7d4514ff6a82d24be940ed50d39e81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175221
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/mathtype.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 4289a9691975..d84a11e52ceb 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -1180,20 +1180,20 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector, break; case tmUARROW: if (nVariation == 0) - rRet.append(" widevec ");//left below + rRet.append(" widevec ");//left below - missing functionality else if (nVariation == 1) - rRet.append(" widevec ");//right below + rRet.append(" widevec ");//right below - missing functionality else if (nVariation == 2) - rRet.append(" widevec ");//double headed below + rRet.append(" widevec ");//double headed below - missing functionality rRet.append(" {"); break; case tmOARROW: if (nVariation == 0) - rRet.append(" widevec ");//left above + rRet.append(" widevec ");//left above - missing functionality else if (nVariation == 1) rRet.append(" widevec ");//right above else if (nVariation == 2) - rRet.append(" widevec ");//double headed above + rRet.append(" widevec ");//double headed above - missing functionality rRet.append(" {"); break; default: |