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

New commits:
commit 71bbaa87a8dd4dd574607bfdc7824e0579a6ec57
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sun Nov 25 21:56:37 2018 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sun Nov 25 22:00:12 2018 +0100

    tdf#120703 PVS: (nArse == 0x2225) condition was masked
    
    ... since initial commit d791366863cf9659a01b171ce0e727bfe2f28cdf
    
    V560 A part of conditional expression is always false: (nArse == 0x2225).
    
    Change-Id: I4afb30f0c6c067d0e42e3fa15e5c2b2c1caa73b3
    Reviewed-on: https://gerrit.libreoffice.org/63996
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index dd44d32d332f..69c57f80b503 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -3070,14 +3070,14 @@ void MathType::HandleMath(SmNode *pNode)
         {
             nBias = 0xB; //typeface
         }
+        else if ((nArse == 0x2F) || (nArse == 0x2225))
+            nBias = 0x2; //typeface
         else if ((nArse > 0x2000) || (nArse == 0x00D7))
             nBias = 0x6; //typeface
         else if (nArse == 0x3d1)
             nBias = 0x4;
         else if ((nArse > 0xFF) && ((nArse < 0x393) || (nArse > 0x3c9)))
             nBias = 0xB; //typeface
-        else if ((nArse == 0x2F) || (nArse == 0x2225))
-            nBias = 0x2; //typeface
         else
             nBias = 0x3; //typeface
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to