starmath/source/mathtype.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 1a949fceae16913b29efae713b5890398c69ffac
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Sat Oct 19 19:04:04 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Wed Nov 20 14:00:33 2024 +0100

    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 <freedesk...@treblig.org>

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:

Reply via email to