summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-25 21:56:37 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-25 22:00:12 +0100
commit71bbaa87a8dd4dd574607bfdc7824e0579a6ec57 (patch)
tree9f1eed188f8ffc4064ce340df3a8a8a06ff01a59 /starmath
parent3483dc5bb0783f520bd8218e71499b369cd59b18 (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx4
1 files changed, 2 insertions, 2 deletions
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