diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-09-27 23:06:37 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-09-27 23:09:09 +0200 |
commit | c5f3ff95d23eb410b5debdd7df359ea57b415143 (patch) | |
tree | 27ee759fe76c97258c0959e2af6f29121fd4d02b /starmath | |
parent | 4fd449b1ca4dce9f1425fc035291651bfc510a3e (diff) |
cppcheck: redundant condition
Change-Id: I751b5c11d51068dd019a74ea29bd3bf9cf9ba51d
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 833a5a0f3437..58053e48cc00 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -2694,7 +2694,7 @@ int MathType::HandleMatrix(int nLevel,sal_uInt8 nSelector, int nRet = HandleRecords(nLevel+1,nSelector,nVariation,nRows,nCols); sal_Int32 nI = rRet.lastIndexOf('#'); - if ((nI != -1) && (nI > 0)) + if (nI > 0) if (rRet[nI-1] != '#') //missing column rRet += "{}"; |