Kaydet (Commit) c5f3ff95 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: redundant condition

Change-Id: I751b5c11d51068dd019a74ea29bd3bf9cf9ba51d
üst 4fd449b1
...@@ -2694,7 +2694,7 @@ int MathType::HandleMatrix(int nLevel,sal_uInt8 nSelector, ...@@ -2694,7 +2694,7 @@ int MathType::HandleMatrix(int nLevel,sal_uInt8 nSelector,
int nRet = HandleRecords(nLevel+1,nSelector,nVariation,nRows,nCols); int nRet = HandleRecords(nLevel+1,nSelector,nVariation,nRows,nCols);
sal_Int32 nI = rRet.lastIndexOf('#'); sal_Int32 nI = rRet.lastIndexOf('#');
if ((nI != -1) && (nI > 0)) if (nI > 0)
if (rRet[nI-1] != '#') //missing column if (rRet[nI-1] != '#') //missing column
rRet += "{}"; rRet += "{}";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment